Zeile 230 | Zeile 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 619 | Zeile 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 641 | Zeile 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']);
|
Zeile 881 | Zeile 877 |
---|
$page->output_footer(); }
|
$page->output_footer(); }
|
| /** * @param DefaultTable $table * @param int $pid * @param int $depth */
|
function fetch_forum_announcements(&$table, $pid=0, $depth=1) { global $mybb, $db, $lang, $announcements, $page;
| function fetch_forum_announcements(&$table, $pid=0, $depth=1) { global $mybb, $db, $lang, $announcements, $page;
|