Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13919/functions
Modified Files:
template.php
Log Message:
Fixed month_event_lines, month_bottom popups, and all-day language on event.php.
Index: template.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/template.php,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** template.php 16 May 2004 05:39:26 -0000 1.39
--- template.php 16 May 2004 06:44:04 -0000 1.40
***************
*** 698,702 ****
$first_of_month = $minical_year.$minical_month."01";
$start_day = strtotime(dateOfWeek($first_of_month, $week_start_day));
- $month_event_lines = 0;
$i = 0;
$whole_month = TRUE;
--- 698,701 ----
***************
*** 800,804 ****
$switch['START_TIME'] = $lang['l_all_day'];
$switch['DESCRIPTION'] = urldecode($val['description']);
! $switch['EVENT_TEXT'] = openevent($event_calna, '', '', $val, $month_event_lines, 15, '', '', 'psf', $event_url);
} else {
$event_start = $val['start_unixtime'];
--- 799,803 ----
$switch['START_TIME'] = $lang['l_all_day'];
$switch['DESCRIPTION'] = urldecode($val['description']);
! $switch['EVENT_TEXT'] = openevent($switch['CALNAME'], '', '', $val, $month_event_lines, 15, '', '', 'psf', $switch['URL']);
} else {
$event_start = $val['start_unixtime'];
***************
*** 807,811 ****
$event_end = date($timeFormat, @strtotime ($event_end));
$switch['START_TIME'] = $event_start . ' - ' . $event_end;
! $switch['EVENT_TEXT'] = openevent($event_calna, '', '', $val, $month_event_lines, 15, '', '', 'psf', $event_url);
$switch['DESCRIPTION'] = urldecode($val['description']);
}
--- 806,810 ----
$event_end = date($timeFormat, @strtotime ($event_end));
$switch['START_TIME'] = $event_start . ' - ' . $event_end;
! $switch['EVENT_TEXT'] = openevent($switch['CALNAME'], '', '', $val, 0, 15, '', '', 'psf', $switch['URL']);
$switch['DESCRIPTION'] = urldecode($val['description']);
}
|