Zeile 162 | Zeile 162 |
---|
"message" => $db->escape_string($mybb->input['message']), "startdate" => $startdate, "enddate" => $enddate,
|
"message" => $db->escape_string($mybb->input['message']), "startdate" => $startdate, "enddate" => $enddate,
|
"allowhtml" => $db->escape_string($mybb->input['allowhtml']), "allowmycode" => $db->escape_string($mybb->input['allowmycode']), "allowsmilies" => $db->escape_string($mybb->input['allowsmilies']),
| "allowhtml" => $mybb->get_input('allowhtml', MyBB::INPUT_INT), "allowmycode" => $mybb->get_input('allowmycode', MyBB::INPUT_INT), "allowsmilies" => $mybb->get_input('allowsmilies', MyBB::INPUT_INT)
|
);
$aid = $db->insert_query("announcements", $insert_announcement);
| );
$aid = $db->insert_query("announcements", $insert_announcement);
|
Zeile 543 | Zeile 543 |
---|
"message" => $db->escape_string($mybb->input['message']), "startdate" => $startdate, "enddate" => $enddate,
|
"message" => $db->escape_string($mybb->input['message']), "startdate" => $startdate, "enddate" => $enddate,
|
"allowhtml" => $db->escape_string($mybb->input['allowhtml']), "allowmycode" => $db->escape_string($mybb->input['allowmycode']), "allowsmilies" => $db->escape_string($mybb->input['allowsmilies']),
| "allowhtml" => $mybb->get_input('allowhtml', MyBB::INPUT_INT), "allowmycode" => $mybb->get_input('allowmycode', MyBB::INPUT_INT), "allowsmilies" => $mybb->get_input('allowsmilies', MyBB::INPUT_INT)
|
);
$plugins->run_hooks("admin_forum_announcements_edit_commit");
| );
$plugins->run_hooks("admin_forum_announcements_edit_commit");
|
Zeile 881 | Zeile 881 |
---|
$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;
|