blob: 727b559ec4cd22b2b67aa7511dca43a5736a8b9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<?php
$event = $vars['event'];
$times = $vars['times'];
$time_bit = '';
if ($times) {
if (is_numeric($event->start_time)) {
$time_bit = event_calendar_convert_time($event->start_time);
}
if (is_numeric($event->end_time)) {
$time_bit .= " - ".event_calendar_convert_time($event->end_time);
}
$time_bit .= ' ';
}
$info = '<tr>';
$info .= '<td class="event_calendar_agenda_time">'.$time_bit.'</td>';
$info .= '<td class="event_calendar_agenda_title"><a href="'.$event->getUrl().'">'.$event->title.'</a></td>';
$info .= '<td class="event_calendar_agenda_venue">'.$event->venue.'</td>';
$info .= '</tr>';
if (trim($event->description)) {
$info .= '<tr class="event_calendar_agenda_description">';
$info .= '<td class="event_calendar_agenda_time"> </td>';
$info .= '<td colspan="2">'.$event->description.'</td></tr>';
}
echo $info;
?>
|