From 8e73cf1f919f587d7892eeef5733b9730a9cb497 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 4 Sep 2012 13:30:17 +0000 Subject: [PATCH] * Calendar: add duration intervalls 10, 12, 14 and 16 hours --- calendar/inc/class.calendar_uiforms.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index c1b3f79e54..466703fa60 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -55,7 +55,7 @@ class calendar_uiforms extends calendar_ui { parent::__construct(true); // call the parent's constructor - for ($n=15; $n <= 8*60; $n+=($n < 60 ? 15 : ($n < 240 ? 30 : 60))) + for ($n=15; $n <= 16*60; $n+=($n < 60 ? 15 : ($n < 240 ? 30 : ($n < 480 ? 60 : 120)))) { $this->durations[$n*60] = sprintf('%d:%02d',$n/60,$n%60); }