Vergleich admin/modules/forum/announcements.php - 1.8.7 - 1.8.8

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 230Zeile 230

if(!$mybb->input['starttime_time'])
{


if(!$mybb->input['starttime_time'])
{

		$start_time = explode("-", gmdate("g-i-a", TIME_NOW));
$mybb->input['starttime_time'] = $start_time[0].":".$start_time[1]." ".$start_time[2];

		$mybb->input['starttime_time'] = gmdate($mybb->settings['timeformat'], TIME_NOW);


	}

if(!$mybb->input['endtime_time'])
{

	}

if(!$mybb->input['endtime_time'])
{

		$end_time = explode("-", gmdate("g-i-a", TIME_NOW));
$mybb->input['endtime_time'] = $end_time[0].":".$end_time[1]." ".$end_time[2];

		$mybb->input['endtime_time'] = gmdate($mybb->settings['timeformat'], TIME_NOW);


	}

if($mybb->input['starttime_day'])

	}

if($mybb->input['starttime_day'])

Zeile 619Zeile 617
			admin_redirect("index.php?module=forum-announcements");
}


			admin_redirect("index.php?module=forum-announcements");
}


		$start_time = explode("-", gmdate("g-i-a", $announcement['startdate']));
$mybb->input['starttime_time'] = $start_time[0].":".$start_time[1]." ".$start_time[2];

		$mybb->input['starttime_time'] = gmdate( $mybb->settings['timeformat'], $announcement['startdate']);



$startday = gmdate("j", $announcement['startdate']);



$startday = gmdate("j", $announcement['startdate']);


Zeile 641Zeile 638
			$endtime_checked[1] = "checked=\"checked\"";
$endtime_checked[2] = "";


			$endtime_checked[1] = "checked=\"checked\"";
$endtime_checked[2] = "";


			$end_time = explode("-", gmdate("g-i-a", $announcement['enddate']));
$mybb->input['endtime_time'] = $end_time[0].":".$end_time[1]." ".$end_time[2];

			$mybb->input['endtime_time'] = gmdate( $mybb->settings['timeformat'],$announcement['enddate']);



$endday = gmdate("j", $announcement['enddate']);



$endday = gmdate("j", $announcement['enddate']);