From df76b59edbb32ee4aa38b9fda0c6ade8dc41278a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Fri, 17 Feb 2006 10:38:00 +0000 Subject: [PATCH] fix: timezone was not displayed in view-mode --- addressbook/inc/class.uicontacts.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addressbook/inc/class.uicontacts.inc.php b/addressbook/inc/class.uicontacts.inc.php index 9b50da132a..25b3f300e3 100644 --- a/addressbook/inc/class.uicontacts.inc.php +++ b/addressbook/inc/class.uicontacts.inc.php @@ -215,6 +215,10 @@ class uicontacts extends bocontacts $readonlys['button[save]'] = $readonlys['button[apply]'] = true; $readonlys['button[delete]'] = !$this->check_perms(EGW_ACL_DELETE,$content); $readonlys['button[edit]'] = !$this->check_perms(EGW_ACL_EDIT,$content); + + for($i = -23; $i<=23; $i++) $tz[$i] = ($i > 0 ? '+' : '').$i; + $sel_options['tz'] = $tz; + $content['tz'] = $content['tz'] ? $content['tz'] : 0; $this->tmpl->read('addressbook.edit'); foreach(array('email','email_home','url') as $name)