diff options
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 662a6cd7f..8a57230a6 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -167,9 +167,9 @@ function system_test_clean_url($form_id) { * Allows users to individually set their theme and time zone. */ function system_user($type, $edit, &$user, $category = NULL) { - if ($type == 'form' && $category == 'account') { + if ($type == 'form' && $category == 'account') { $form['theme_select'] = system_theme_select_form(t('Selecting a different theme will change the look and feel of the site.'), $edit['theme'], 2); - + if (variable_get('configurable_timezones', 1)) { $zones = _system_zonelist(); $form['timezone'] = array('#type'=>'fieldset', '#title' => t('Locale settings'), '#weight' => 6); @@ -178,7 +178,7 @@ function system_user($type, $edit, &$user, $category = NULL) { '#options' => $zones, '#description' => t('Select your current local time. Dates and times throughout this site will be displayed using this time zone.') ); } - + return $form; } } @@ -207,10 +207,10 @@ function system_theme_select_form($description = '', $default_value = '', $weigh ksort($enabled); $form['themes'] = array( - '#type' => 'fieldset', - '#title' => t('Theme configuration'), - '#description' => $description, - '#collapsible' => TRUE, + '#type' => 'fieldset', + '#title' => t('Theme configuration'), + '#description' => $description, + '#collapsible' => TRUE, '#theme' => 'system_theme_select_form' ); |