Vergleich calendar.php - 1.8.16 - 1.8.23

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 937Zeile 937
	{
$event_errors = '';
$mybb->input['calendar'] = $event['cid'];

	{
$event_errors = '';
$mybb->input['calendar'] = $event['cid'];

		$name = htmlspecialchars_uni($event['name']);

		$name = $event['name'];

		$description = htmlspecialchars_uni($event['description']);
if($event['private'] == 1)
{

		$description = htmlspecialchars_uni($event['description']);
if($event['private'] == 1)
{

Zeile 1455Zeile 1455
	}

$displaygroupfields = array("title", "description", "namestyle", "usertitle", "stars", "starimage", "image");

	}

$displaygroupfields = array("title", "description", "namestyle", "usertitle", "stars", "starimage", "image");

 

if(!$event['displaygroup'])
{
$event['displaygroup'] = $event['usergroup'];
}


	$display_group = usergroup_displaygroup($event['displaygroup']);
if(is_array($display_group))
{

	$display_group = usergroup_displaygroup($event['displaygroup']);
if(is_array($display_group))
{

Zeile 1580Zeile 1586
			$time_period = gmdate($mybb->settings['dateformat'], $event['starttime_user']).", ".gmdate($mybb->settings['timeformat'], $event['starttime_user']);
$time_period .= " - ";
$time_period .= gmdate($mybb->settings['dateformat'], $event['endtime_user']).", ".gmdate($mybb->settings['timeformat'], $event['endtime_user']);

			$time_period = gmdate($mybb->settings['dateformat'], $event['starttime_user']).", ".gmdate($mybb->settings['timeformat'], $event['starttime_user']);
$time_period .= " - ";
$time_period .= gmdate($mybb->settings['dateformat'], $event['endtime_user']).", ".gmdate($mybb->settings['timeformat'], $event['endtime_user']);

		}
}
else
{

		}
}
else
{

		$time_period = gmdate($mybb->settings['dateformat'], $event['starttime_user']);
}


		$time_period = gmdate($mybb->settings['dateformat'], $event['starttime_user']);
}


Zeile 1669Zeile 1675

// Incoming year?
if(isset($mybb->input['year']) && $mybb->get_input('year', MyBB::INPUT_INT) <= my_date("Y")+5 && $mybb->get_input('year', MyBB::INPUT_INT) >= 1901)


// Incoming year?
if(isset($mybb->input['year']) && $mybb->get_input('year', MyBB::INPUT_INT) <= my_date("Y")+5 && $mybb->get_input('year', MyBB::INPUT_INT) >= 1901)

	{

	{

		$year = $mybb->get_input('year', MyBB::INPUT_INT);
}
else

		$year = $mybb->get_input('year', MyBB::INPUT_INT);
}
else

Zeile 1798Zeile 1804
			}

$displaygroupfields = array("title", "description", "namestyle", "usertitle", "stars", "starimage", "image");

			}

$displaygroupfields = array("title", "description", "namestyle", "usertitle", "stars", "starimage", "image");

 

if(!$event['displaygroup'])
{
$event['displaygroup'] = $event['usergroup'];
}


			$display_group = usergroup_displaygroup($event['displaygroup']);
if(is_array($display_group))
{

			$display_group = usergroup_displaygroup($event['displaygroup']);
if(is_array($display_group))
{

Zeile 2536Zeile 2548
			// Is the current day
if($day.$calendar_month.$year == $today && $month == $calendar_month)
{

			// Is the current day
if($day.$calendar_month.$year == $today && $month == $calendar_month)
{

				$day_class = "trow_sep";

				eval("\$day_bits .= \"".$templates->get("calendar_weekrow_currentday")."\";");

			}
// Not in this month
else if($in_month == 0)
{

			}
// Not in this month
else if($in_month == 0)
{

				$day_class = "trow1";

				eval("\$day_bits .= \"".$templates->get("calendar_weekrow_day")."\";");

			}
// Just a normal day in this month
else
{

			}
// Just a normal day in this month
else
{

				$day_class = "trow2";

				eval("\$day_bits .= \"".$templates->get("calendar_weekrow_thismonth")."\";");

			}

			}

			eval("\$day_bits .= \"".$templates->get("calendar_weekrow_day")."\";");

 
			$day_birthdays = $day_events = "";
++$day;
}

			$day_birthdays = $day_events = "";
++$day;
}