Vergleich inc/functions_calendar.php - 1.8.9 - 1.8.22

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 130Zeile 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 452Zeile 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 514Zeile 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();
}