From 293145ae003e455774207114aceb0c3d2ad94dd9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 26 Jul 2005 15:49:58 +0000 Subject: [PATCH] fixed not working workday start and end and added run_lang=false to the already translated help on freebusy --- calendar/inc/hook_settings.inc.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/calendar/inc/hook_settings.inc.php b/calendar/inc/hook_settings.inc.php index e7f32fccd4..87f5cf2ab9 100644 --- a/calendar/inc/hook_settings.inc.php +++ b/calendar/inc/hook_settings.inc.php @@ -92,7 +92,7 @@ for ($i=0; $i < 24; ++$i) { - $options[$i] = $GLOBALS['egw']->common->formattime($i,'00'); + $times[$i] = $GLOBALS['egw']->common->formattime($i,'00'); } $intervals = array( @@ -272,7 +272,7 @@ 'type' => 'select', 'label' => 'work day starts on', 'name' => 'workdaystarts', - 'values' => $options, + 'values' => $times, 'help' => 'This defines the start of your dayview. Events before this time, are shown above the dayview.
This time is also used as a default starttime for new events.', 'xmlrpc' => True, 'admin' => False @@ -281,7 +281,7 @@ 'type' => 'select', 'label' => 'work day ends on', 'name' => 'workdayends', - 'values' => $options, + 'values' => $times, 'help' => 'This defines the end of your dayview. Events after this time, are shown below the dayview.', 'xmlrpc' => True, 'admin' => False @@ -359,14 +359,15 @@ ), */ 'freebusy' => array( - 'type' => 'select', + 'type' => 'check', 'label' => 'Make freebusy information available to not loged in persons?', 'name' => 'freebusy', 'help' => $freebusy_help, + 'run_lang' => false, 'default' => '', 'subst_help' => False, 'xmlrpc' => True, - 'admin' => False + 'admin' => False, ), 'freebusy_pw' => array( 'type' => 'input',