diff options
Diffstat (limited to 'modules/pref-prefs.php')
-rw-r--r-- | modules/pref-prefs.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index 5105f3573..f5671a995 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -370,7 +370,13 @@ print "<td class=\"prefValue\">"; - if ($pref_name == "DEFAULT_UPDATE_INTERVAL") { + if ($pref_name == "USER_TIMEZONE") { + + $timezones = explode("\n", file_get_contents("lib/timezones.txt")); + + print_select($pref_name, $value, $timezones); + + } else if ($pref_name == "DEFAULT_UPDATE_INTERVAL") { global $update_intervals_nodefault; |