diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-01-11 03:32:56 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-01-11 03:32:56 +0000 |
commit | 74c7e1dce8b28ef3ed050cba9df62ab268242743 (patch) | |
tree | 0beeee5f0fac59c0f8f96e9c0afe7d70af3662b0 /modules/system/system.module | |
parent | 7f2a4fbfc5f2929ea21cd66ac9623806911b3b36 (diff) | |
download | brdo-74c7e1dce8b28ef3ed050cba9df62ab268242743.tar.gz brdo-74c7e1dce8b28ef3ed050cba9df62ab268242743.tar.bz2 |
#107510: User timezone fieldset should be collapsible.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 5bb4f67ae..5213aec1e 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -331,10 +331,18 @@ function system_user($type, $edit, &$user, $category = NULL) { if (variable_get('configurable_timezones', 1)) { $zones = _system_zonelist(); - $form['timezone'] = array('#type'=>'fieldset', '#title' => t('Locale settings'), '#weight' => 6); + $form['timezone'] = array( + '#type'=>'fieldset', + '#title' => t('Locale settings'), + '#weight' => 6, + '#collapsible' => TRUE, + ); $form['timezone']['timezone'] = array( - '#type' => 'select', '#title' => t('Time zone'), '#default_value' => strlen($edit['timezone']) ? $edit['timezone'] : variable_get('date_default_timezone', 0), - '#options' => $zones, '#description' => t('Select your current local time. Dates and times throughout this site will be displayed using this time zone.') + '#type' => 'select', + '#title' => t('Time zone'), + '#default_value' => strlen($edit['timezone']) ? $edit['timezone'] : variable_get('date_default_timezone', 0), + '#options' => $zones, + '#description' => t('Select your current local time. Dates and times throughout this site will be displayed using this time zone.'), ); } |