Idee: ALLDAY Events so darstellen wie in iCal (als Balken)
Stand: im month_large.tpl template ist die Ansicht definiert. {ALLDAY} ist der Platzhalter für die ALLDAY events. Die Events selbst werden leider direkt von functions/template.php eingefügt. Nach $switch['ALLDAY'] suchen
if ($master_array[$daylink]) { if ($type != 'small') { foreach ($master_array[$daylink] as $event_times) { foreach ($event_times as $uid => $val) { $event_calno = $val['calnumber']; $event_calno = (($event_calno - 1) % $unique_colors) + 1; if (!isset($val['event_start'])) { if ($type == 'large') { $switch['ALLDAY'] .= '<div class="V10"><img src="templates/'.$template.'/images/monthdot_'.$event_calno.'.gif" alt="" width="9" height="9 " border="0" />'; $switch['ALLDAY'] .= openevent($daylink, $uid, $val, $month_event_lines, 15, 'psf'); $switch['ALLDAY'] .= '</div>'; } else { $switch['ALLDAY'] .= '<img src="templates/'.$template.'/images/allday_dot.gif" alt=" " width="11" height="10" border="0" />'; } } else { $start2 = date($timeFormat_small, $val['start_unixtime']); if ($type == 'large') { $switch['EVENT'] .= '<div class="V9"><img src="templates/'.$template.'/images/monthdot_'.$event_calno.'.gif" alt="" width="9" height="9" border="0" />'; $switch['EVENT'] .= openevent($daylink, $uid, $val, $month_event_lines, 10, 'ps3', "$start2 ").'<br />'; $switch['EVENT'] .= '</div>'; } else { $switch['EVENT'] = '<img src="templates/'.$template.'/images/event_dot.gif" alt=" " width="11" height="10" border="0" />'; } } } } } } $switch['EVENT'] = (isset($switch['EVENT'])) ? $switch['EVENT'] : ''; $switch['ALLDAY'] = (isset($switch['ALLDAY'])) ? $switch['ALLDAY'] : '';