From: <ji...@us...> - 2007-05-23 18:17:50
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21323/phpicalendar/functions Modified Files: template.php Log Message: fix repeat display problem for monthbottom and printview Index: template.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/template.php,v retrieving revision 1.92 retrieving revision 1.93 diff -C2 -d -r1.92 -r1.93 *** template.php 19 May 2007 16:18:13 -0000 1.92 --- template.php 23 May 2007 18:17:50 -0000 1.93 *************** *** 77,81 **** foreach ($val as $new_val) { foreach ($new_val as $new_key2 => $new_val2) { ! if (isset($seen_events["$new_key2"])){ $new_val2['event_text'] .= " second instance of ".$new_key2; continue; --- 77,81 ---- foreach ($val as $new_val) { foreach ($new_val as $new_key2 => $new_val2) { ! if (isset($seen_events["$new_key2"]) && $new_val2['spans_day'] == 1){ $new_val2['event_text'] .= " second instance of ".$new_key2; continue; *************** *** 1014,1018 **** $start_date = localizeDate ($dateFormat_week_list, $u_start); foreach ($event_times as $uid => $val) { ! if (isset($seen_events[$uid])) continue; $seen_events[$uid] = 1; $switch['CAL'] = $cal; --- 1014,1018 ---- $start_date = localizeDate ($dateFormat_week_list, $u_start); foreach ($event_times as $uid => $val) { ! if (isset($seen_events[$uid]) && $val['spans_day'] == 1) continue; $seen_events[$uid] = 1; $switch['CAL'] = $cal; |