Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9985/phpicalendar/functions
Modified Files:
template.php
Log Message:
deal with various unset variable warning situations
Index: template.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/template.php,v
retrieving revision 1.93
retrieving revision 1.94
diff -C2 -d -r1.93 -r1.94
*** template.php 23 May 2007 18:17:50 -0000 1.93
--- template.php 12 Oct 2007 06:45:17 -0000 1.94
***************
*** 901,904 ****
--- 901,906 ----
}
+ $weekday_loop = '';
+ $middle = '';
for ($i=0; $i<7; $i++) {
$day_num = date("w", $start_day);
***************
*** 1007,1010 ****
--- 1009,1013 ----
$i=0;
$seen_events = array();
+ $middle = '';
do {
if (isset($master_array[$m_start])) {
***************
*** 1021,1025 ****
if (!isset($val['event_start'])) {
$switch['START_TIME'] = $lang['l_all_day'];
! $switch['EVENT_TEXT'] = openevent($m_start, $cal_time, $uid, $val, $month_event_lines, 15, 'psf');
$switch['DESCRIPTION'] = urldecode($val['description']);
} else {
--- 1024,1028 ----
if (!isset($val['event_start'])) {
$switch['START_TIME'] = $lang['l_all_day'];
! $switch['EVENT_TEXT'] = openevent($m_start, $cal_time, $uid, $val, @$month_event_lines, 15, 'psf');
$switch['DESCRIPTION'] = urldecode($val['description']);
} else {
|