@@ 261-267 (lines=7) @@ | ||
258 | $context = ''; |
|
259 | $myts = MyTextSanitizer::getInstance(); |
|
260 | while ($event = $GLOBALS['xoopsDB']->fetchObject($rs)) { |
|
261 | if (isset($event->start_date)) { |
|
262 | $start_str = $event->start_date; |
|
263 | } elseif ($event->allday) { |
|
264 | $start_str = $this->get_long_ymdn($event->start); |
|
265 | } else { |
|
266 | $start_str = $this->get_long_ymdn($event->start + $tzoffset); |
|
267 | } |
|
268 | ||
269 | if (isset($event->end_date)) { |
|
270 | $end_str = $event->end_date; |
|
@@ 672-678 (lines=7) @@ | ||
669 | break; |
|
670 | } |
|
671 | ||
672 | if (isset($event->start_date)) { |
|
673 | $start_str = $event->start_date; |
|
674 | } elseif ($event->allday) { |
|
675 | $start_str = $this->get_long_ymdn($event->start); |
|
676 | } else { |
|
677 | $start_str = $this->get_long_ymdn($event->start + $tzoffset); |
|
678 | } |
|
679 | ||
680 | if (isset($event->end_date)) { |
|
681 | $end_str = $event->end_date; |