Vergleich inc/functions_calendar.php - 1.4.1 - 1.4.15

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: functions_calendar.php 3975 2008-07-03 23:07:21Z Tikitiki $

 * $Id: functions_calendar.php 5379 2011-02-21 11:06:42Z Tomm $

 */

/**

 */

/**

Zeile 419Zeile 419
		else
{
$event_date = explode("-", gmdate("j-n-Y", $event['starttime_user']));

		else
{
$event_date = explode("-", gmdate("j-n-Y", $event['starttime_user']));

			$event['endtime_user'] = $event['endtime']+$offset*3600;

			$event['endtime_user'] = $event['endtime']+($offset*3600);

			$event['weekday_start'] = $calendar['weekstart'];

$start_day = gmmktime(0, 0, 0, $event_date[1], $event_date[0], $event_date[2]);

			$event['weekday_start'] = $calendar['weekstart'];

$start_day = gmmktime(0, 0, 0, $event_date[1], $event_date[0], $event_date[2]);

Zeile 445Zeile 445
			$first = "";
$event_date = explode("-", gmdate("j-n-Y", $range_start));


			$first = "";
$event_date = explode("-", gmdate("j-n-Y", $range_start));


			// Get rid of hour/minutes because sometimes they cause the events to stretch into the next day
$range_end = gmmktime(0, 0, 0, gmdate("n", $event['endtime']), gmdate("j", $event['endtime']), gmdate("Y", $event['endtime']));

			$range_end = gmmktime(23, 59, 59, gmdate("n", $event['endtime']), gmdate("j", $event['endtime']), gmdate("Y", $event['endtime']));


			while($range_start < $range_end)
{
// Outside the dates we care about, break! (No unnecessary looping here!)

			while($range_start < $range_end)
{
// Outside the dates we care about, break! (No unnecessary looping here!)