diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-01 14:44:50 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-01 14:44:50 +0100 |
commit | 686b6ee1182c09969e2817b53825a78975c75bf5 (patch) | |
tree | 20ab015bbe6b088a473a98ebb71f3feb49e252d7 /mod | |
parent | ef94747e5eb4d8b2e3566835280c31b848fc28e6 (diff) | |
download | volse-hubzilla-686b6ee1182c09969e2817b53825a78975c75bf5.tar.gz volse-hubzilla-686b6ee1182c09969e2817b53825a78975c75bf5.tar.bz2 volse-hubzilla-686b6ee1182c09969e2817b53825a78975c75bf5.zip |
Use grouped select field for timezone selection
Diffstat (limited to 'mod')
-rw-r--r-- | mod/settings.php | 4 | ||||
-rwxr-xr-x | mod/setup.php | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/mod/settings.php b/mod/settings.php index be6f2cfb9..bce04e436 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -1010,12 +1010,10 @@ function settings_content(&$a) { '$uid' => local_user(), '$form_security_token' => get_form_security_token("settings"), '$nickname_block' => $prof_addr, - - '$h_basic' => t('Basic Settings'), '$username' => array('username', t('Full Name:'), $username,''), '$email' => array('email', t('Email Address:'), $email, ''), - '$timezone' => array('timezone_select' , t('Your Timezone:'), select_timezone($timezone), ''), + '$timezone' => array('timezone_select' , t('Your Timezone:'), $timezone, '', get_timezones()), '$defloc' => array('defloc', t('Default Post Location:'), $defloc, t('Geographical location to display on your posts')), '$allowloc' => array('allow_location', t('Use Browser Location:'), ((get_pconfig(local_user(),'system','use_browser_location')) ? 1 : ''), ''), diff --git a/mod/setup.php b/mod/setup.php index 044def15a..6f2c7c074 100755 --- a/mod/setup.php +++ b/mod/setup.php @@ -349,7 +349,7 @@ function setup_content(&$a) { '$siteurl' => array('siteurl', t('Website URL'), z_root(), t('Please use SSL (https) URL if available.')), - '$timezone' => field_timezone('timezone', t('Please select a default timezone for your website'), $timezone, ''), + '$timezone' => array('timezone', t('Please select a default timezone for your website'), $timezone, '', get_timezones()), '$baseurl' => $a->get_baseurl(), |