From: <cl...@us...> - 2003-05-29 06:27:18
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1:/tmp/cvs-serv24719 Modified Files: day.php week.php Log Message: Fixed a tons of E_ALL errors for smoother installs. Index: day.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/day.php,v retrieving revision 1.89 retrieving revision 1.90 diff -C2 -d -r1.89 -r1.90 *** day.php 28 May 2003 04:19:25 -0000 1.89 --- day.php 29 May 2003 06:27:14 -0000 1.90 *************** *** 34,38 **** $nbrGridCols = 1; ! if (is_array($master_array[($getdate)])) { foreach($master_array[($getdate)] as $ovlKey => $ovlValue) { if ($ovlKey != '-1') { --- 34,38 ---- $nbrGridCols = 1; ! if (isset($master_array[($getdate)])) { foreach($master_array[($getdate)] as $ovlKey => $ovlValue) { if ($ovlKey != '-1') { *************** *** 60,64 **** ?> ! <?php if (is_array($master_array['-2'])) include (BASE.'functions/todo.js'); ?> </head> <body bgcolor="#FFFFFF"> --- 60,64 ---- ?> ! <?php if (isset($master_array['-2'])) include (BASE.'functions/todo.js'); ?> </head> <body bgcolor="#FFFFFF"> *************** *** 102,106 **** <?php // The all day events returned here. ! if ($master_array[($getdate)]['-1']) { echo "<tr>\n"; echo '<td colspan="3" height="24">'."\n"; --- 102,106 ---- <?php // The all day events returned here. ! if (isset($master_array[($getdate)]['-1'])) { echo "<tr>\n"; echo '<td colspan="3" height="24">'."\n"; *************** *** 180,184 **** // add events that overlap $day_start instead of cutting them out completely ! if ("$day_start" == "$cal_time" && is_array($master_array[$getdate])) { foreach($master_array[$getdate] as $time_key => $time_arr) { if ((int)$time_key < (int)$cal_time && is_array($time_arr) && $time_key != '-1') { --- 180,184 ---- // add events that overlap $day_start instead of cutting them out completely ! if ("$day_start" == "$cal_time" && isset($master_array[$getdate])) { foreach($master_array[$getdate] as $time_key => $time_arr) { if ((int)$time_key < (int)$cal_time && is_array($time_arr) && $time_key != '-1') { Index: week.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/week.php,v retrieving revision 1.89 retrieving revision 1.90 diff -C2 -d -r1.89 -r1.90 *** week.php 29 May 2003 05:07:54 -0000 1.89 --- week.php 29 May 2003 06:27:14 -0000 1.90 *************** *** 59,63 **** } ?> ! <?php if (is_array($master_array['-2'])) include (BASE.'functions/todo.js'); ?> </head> <body bgcolor="#FFFFFF"> --- 59,63 ---- } ?> ! <?php if (isset($master_array['-2'])) include (BASE.'functions/todo.js'); ?> </head> <body bgcolor="#FFFFFF"> |