From d9c9dae6c0077ef25151a8f9b84e78e0f59ce893 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Wed, 27 Apr 2016 09:57:34 +0200 Subject: [PATCH] Complete time zone feature --- chat.php | 10 +++++----- lang_de.php | 4 ++-- lang_en.php | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/chat.php b/chat.php index 35d469b..925fad0 100644 --- a/chat.php +++ b/chat.php @@ -567,8 +567,8 @@ function send_setup(){ echo ''; thr(); echo "
$I[defaulttz]"; - echo ""; + $tzs=[-12=>'-12', -11=>'-11', -10=>'-10', -9=>'-9', -8=>'-8', -7=>'-7', -6=>'-6', -5=>'-5', -4=>'-4', -3=>'-3', -2=>'-2', -1=>'-1', 0=>'', 1=>'+1', 2=>'+2', 3=>'+3', 4=>'+4', 5=>'+5', 6=>'+6', 7=>'+7', 8=>'+8', 9=>'+9', 10=>'+10', 11=>'+11', 12=>'+12', 13=>'+13', 14=>'+14']; $defaulttz=get_setting('defaulttz'); foreach($tzs as $tz=>$name){ $select = $defaulttz==$tz ? ' selected' : ''; @@ -1744,7 +1744,7 @@ function send_profile($arg=''){ } echo "
$I[tz]"; echo "