Commit b62fb829 authored by webchick's avatar webchick

#455576 by Xano and sirkitree: Revamp user settings page with vertical tabs,...

#455576 by Xano and sirkitree: Revamp user settings page with vertical tabs, better organization, etc. Awesomeness.
parent 2002b961
......@@ -1203,13 +1203,6 @@ function system_site_information_settings() {
'#default_value' => '',
'#description' => t("Your site's motto, tag line, or catchphrase (often displayed alongside the title of the site).")
);
$form['anonymous'] = array(
'#type' => 'textfield',
'#title' => t('Anonymous user'),
'#default_value' => t('Anonymous'),
'#description' => t('The name used to indicate anonymous users.'),
'#required' => TRUE,
);
$form['site_frontpage'] = array(
'#type' => 'textfield',
'#title' => t('Default front page'),
......
This diff is collapsed.
......@@ -161,14 +161,13 @@ Drupal.evaluatePasswordStrength = function (password, translate) {
};
/**
* On the admin/user/settings page, conditionally show all of the
* picture-related form elements depending on the current value of the
* "Picture support" radio buttons.
* Show all of the picture-related form elements at admin/user/settings
* depending on whether user pictures are enabled or not.
*/
Drupal.behaviors.userSettings = {
attach: function (context, settings) {
$('div.user-admin-picture-radios input[type=radio]:not(.userSettings-processed)', context).addClass('userSettings-processed').click(function () {
$('div.user-admin-picture-settings', context)[['hide', 'show'][this.value]]();
$('#edit-user-pictures', context).change(function () {
$('div.user-admin-picture-settings', context).toggle();
});
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment