|
From: <cl...@us...> - 2004-09-02 18:49:44
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1507/functions Modified Files: template.php Log Message: Updated README and fixed PHP5 error on print. Index: template.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/template.php,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** template.php 18 Aug 2004 00:10:08 -0000 1.53 --- template.php 2 Sep 2004 18:49:34 -0000 1.54 *************** *** 81,92 **** $event_end = $new_val2['event_end']; if (isset($new_val2['display_end'])) $event_end = $new_val2['display_end']; - $event_start = date ($timeFormat, strtotime ($event_start)); - $event_end = date ($timeFormat, strtotime ($event_end)); - $event_start = $event_start .' - '.$event_end; if (!$new_val2['event_start']) { $event_start = $lang['l_all_day']; $event_start2 = ''; $event_end = ''; ! } } --- 81,93 ---- $event_end = $new_val2['event_end']; if (isset($new_val2['display_end'])) $event_end = $new_val2['display_end']; if (!$new_val2['event_start']) { $event_start = $lang['l_all_day']; $event_start2 = ''; $event_end = ''; ! } else { ! $event_start = date ($timeFormat, strtotime ($event_start)); ! $event_end = date ($timeFormat, strtotime ($event_end)); ! $event_start = $event_start .' - '.$event_end; ! } } |