security update core+modules
This commit is contained in:
@@ -5,6 +5,21 @@
|
||||
* Admin page callback file for the user module.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Page callback: Generates the appropriate user administration form.
|
||||
*
|
||||
* This function generates the user registration, multiple user cancellation,
|
||||
* or filtered user list admin form, depending on the argument and the POST
|
||||
* form values.
|
||||
*
|
||||
* @param string $callback_arg
|
||||
* (optional) Indicates which form to build. Defaults to '', which will
|
||||
* trigger the user filter form. If the POST value 'op' is present, this
|
||||
* function uses that value as the callback argument.
|
||||
*
|
||||
* @return string
|
||||
* A renderable form array for the respective request.
|
||||
*/
|
||||
function user_admin($callback_arg = '') {
|
||||
$op = isset($_POST['op']) ? $_POST['op'] : $callback_arg;
|
||||
|
||||
@@ -391,7 +406,7 @@ function user_admin_settings() {
|
||||
$form['personalization']['pictures']['settings']['user_picture_style'] = array(
|
||||
'#type' => 'select',
|
||||
'#title' => t('Picture display style'),
|
||||
'#options' => image_style_options(TRUE),
|
||||
'#options' => image_style_options(TRUE, PASS_THROUGH),
|
||||
'#default_value' => variable_get('user_picture_style', ''),
|
||||
'#description' => t('The style selected will be used on display, while the original image is retained. Styles may be configured in the <a href="!url">Image styles</a> administration area.', array('!url' => url('admin/config/media/image-styles'))),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user