|
@@ 2122-2126 (lines=5) @@
|
| 2119 |
|
); |
| 2120 |
|
} |
| 2121 |
|
|
| 2122 |
|
if ($event->allday) { |
| 2123 |
|
$time_part = " <img border='0' src='$this->images_url/dot_allday.gif' />"; |
| 2124 |
|
} else { |
| 2125 |
|
$time_part = $this->get_time_desc_for_a_day($event, $tzoffset, $bottomtime_of_day - $this->day_start, true, true); |
| 2126 |
|
} |
| 2127 |
|
|
| 2128 |
|
$description = $this->textarea_sanitizer_for_show($event->description); |
| 2129 |
|
$summary = $this->text_sanitizer_for_show($event->summary); |
|
@@ 2156-2160 (lines=5) @@
|
| 2153 |
|
$yrs = $GLOBALS['xoopsDB']->query("SELECT start,end,summary,id,allday,admission,uid,description,(start>='$toptime_of_day') AS is_start_date,(end<='$bottomtime_of_day') AS is_end_date FROM $this->table WHERE admission=0 AND $whr_uid AND ($whr_term) AND ($whr_categories) AND ($whr_class) ORDER BY start,end"); |
| 2154 |
|
|
| 2155 |
|
while ($event = $GLOBALS['xoopsDB']->fetchObject($yrs)) { |
| 2156 |
|
if ($event->allday) { |
| 2157 |
|
$time_part = " <img border='0' src='$this->images_url/dot_notadmit.gif' />"; |
| 2158 |
|
} else { |
| 2159 |
|
$time_part = $this->get_time_desc_for_a_day($event, $tzoffset, $bottomtime_of_day - $this->day_start, true, false); |
| 2160 |
|
} |
| 2161 |
|
|
| 2162 |
|
$summary = $this->text_sanitizer_for_show($event->summary); |
| 2163 |
|
|