Zeile 130 | Zeile 130 |
---|
$link_to_day = false; // Any events on this specific day?
|
$link_to_day = false; // Any events on this specific day?
|
if(@count($events_cache["$day-$calendar_month-$calendar_year"]) > 0)
| if(!empty($events_cache["$day-$calendar_month-$calendar_year"]))
|
{ $link_to_day = true; }
| { $link_to_day = true; }
|
Zeile 452 | Zeile 452 |
---|
{ if($event['ignoretimezone'] == 0) {
|
{ if($event['ignoretimezone'] == 0) {
|
$offset = $event['timezone'];
| $offset = (float)$event['timezone'];
|
} else {
|
} else {
|
$offset = $mybb->user['timezone'];
| $offset = (float)$mybb->user['timezone'];
|
} $event['starttime_user'] = $event['starttime']+($offset*3600);
| } $event['starttime_user'] = $event['starttime']+($offset*3600);
|
Zeile 514 | Zeile 514 |
---|
} else if(!$first) {
|
} else if(!$first) {
|
if(!isset($events_cache[$day_date]))
| if(!isset($events_cache[$day_date]) || !is_array($events_cache[$day_date]))
|
{ $events_cache[$day_date] = array(); }
| { $events_cache[$day_date] = array(); }
|