From: <ji...@us...> - 2008-12-24 21:09:37
|
Update of /cvsroot/phpicalendar/phpicalendar/functions/init In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18224/functions/init Modified Files: configs.php date_range.php Log Message: add day_end option to preferences Index: configs.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init/configs.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** configs.php 23 Dec 2008 20:24:54 -0000 1.5 --- configs.php 24 Dec 2008 21:09:31 -0000 1.6 *************** *** 23,26 **** --- 23,27 ---- if (isset($phpicalendar['cookie_startday'])) $phpiCal_config->setProperty('week_start_day', $phpicalendar['cookie_startday']); if (isset($phpicalendar['cookie_time'])) $phpiCal_config->setProperty('day_start', $phpicalendar['cookie_time']); + if (isset($phpicalendar['cookie_endtime'])) $phpiCal_config->setProperty('day_end', $phpicalendar['cookie_endtime']); } Index: date_range.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init/date_range.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** date_range.php 20 Dec 2008 03:22:54 -0000 1.5 --- date_range.php 24 Dec 2008 21:09:31 -0000 1.6 *************** *** 34,37 **** --- 34,41 ---- $mArray_end = mktime (0,0,0,$end_month,31,($end_year)); break; + case 'preferences': + $mArray_begin = time(); + $mArray_end = time(); + break; default: $mArray_begin = mktime (0,0,0,12,21,($this_year - 1)); |