From: <par...@us...> - 2009-05-27 16:47:52
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15783/functions Modified Files: template.php Log Message: Fixes for print view Index: template.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/template.php,v retrieving revision 1.116 retrieving revision 1.117 diff -C2 -d -r1.116 -r1.117 *** template.php 26 May 2009 20:50:57 -0000 1.116 --- template.php 27 May 2009 16:47:40 -0000 1.117 *************** *** 78,82 **** // Pull out each day $some_events = ''; ! foreach ($val as $new_val) { foreach ($new_val as $new_key2 => $new_val2) { if (isset($seen_events["$new_key2"]) && isset($new_val2['spans_day']) && $new_val2['spans_day'] == 1){ --- 78,82 ---- // Pull out each day $some_events = ''; ! foreach ($val as $cal_time => $new_val) { foreach ($new_val as $new_key2 => $new_val2) { if (isset($seen_events["$new_key2"]) && isset($new_val2['spans_day']) && $new_val2['spans_day'] == 1){ *************** *** 98,102 **** $event_end = $new_val2['event_end']; if (isset($new_val2['display_end'])) $event_end = $new_val2['display_end']; ! if (!isset($new_val2['event_start'])) { $event_start = $lang['l_all_day']; $event_start2 = ''; --- 98,102 ---- $event_end = $new_val2['event_end']; if (isset($new_val2['display_end'])) $event_end = $new_val2['display_end']; ! if ($cal_time == -1) { $event_start = $lang['l_all_day']; $event_start2 = ''; |