[MRBS-general] How to remove periods from web interface
Brought to you by:
jberanek
From: Ben .T.G. <ben...@gm...> - 2013-09-22 06:24:06
|
HI I installed and configured MRBS on my Linux(Centos) PC, everything is working including LDAP and sendmail currently i am getting periods section while i am trying to book room like this : http://imageupload.co.uk/files/ljml5vgrs5qhtz8lo8fc.jpg how to remove this periods option from here. i want only hour basis here is my configuration: /******************* * Calendar settings *******************/ $enable_periods = FALSE; $resolution = (30 * 60); $default_duration = (60 * 60); $morningstarts = 8; // must be integer in range 0-23 $morningstarts_minutes = 0; // must be integer in range 0-59 $eveningends = 17; // must be integer in range 0-23 $eveningends_minutes = 00; // must be integer in range 0-59 $max_slots = 60; // PERIODS SETTINGS // ---------------- $periods[] = "08:00 - 09:00"; $periods[] = "09:00 - 10:00"; $periods[] = "10:00 - 11:00"; $periods[] = "11:00 - 12:00"; $periods[] = "12:00 - 13:00"; $periods[] = "13:00 - 14:00"; $periods[] = "14:00 - 15:00"; $periods[] = "15:00 - 16:00"; $periods[] = "16:00 - 17:00"; /******************* if ($enable_periods) { $max_slots = count($periods); // We know exactly how many we need if ($max_slots > 60) { die('Configuration error: too many periods defined'); } } else { $start_first_slot = ($morningstarts*60) + $morningstarts_minutes; // minutes $start_last_slot = ($eveningends*60) + $eveningends_minutes; // minutes $start_difference = ($start_last_slot - $start_first_slot) * 60; // seconds if (($start_difference < 0) or ($start_difference%$resolution != 0)) { die('Configuration error: start and end of day incorrectly defined'); } } I Disabled this script section and still it showing periods please help me to fix this thanks & Regards, Ben |