Zeile 26 | Zeile 26 |
---|
if($announcement['fid'] != -1) { $forum = get_forum($announcement['fid']);
|
if($announcement['fid'] != -1) { $forum = get_forum($announcement['fid']);
|
if(!$forum['fid'] || $forum['password'] != '')
| if(!$forum['fid'] || $forum['password'] !== '')
|
{ archive_error($lang->error_invalidforum); }
| { archive_error($lang->error_invalidforum); }
|
Zeile 44 | Zeile 44 |
---|
$announcement['subject'] = htmlspecialchars_uni($parser->parse_badwords($announcement['subject']));
$parser_options = array(
|
$announcement['subject'] = htmlspecialchars_uni($parser->parse_badwords($announcement['subject']));
$parser_options = array(
|
"allow_html" => $announcement['allowhtml'],
| "allow_html" => $mybb->settings['announcementshtml'] && $announcement['allowhtml'],
|
"allow_mycode" => $announcement['allowmycode'], "allow_smilies" => $announcement['allowsmilies'], "allow_imgcode" => 1,
| "allow_mycode" => $announcement['allowmycode'], "allow_smilies" => $announcement['allowsmilies'], "allow_imgcode" => 1,
|
Zeile 80 | Zeile 80 |
---|
// Fetch the forum this thread is in $forum = get_forum($thread['fid']);
|
// Fetch the forum this thread is in $forum = get_forum($thread['fid']);
|
if(!$forum['fid'] || $forum['password'] != '')
| if(!$forum['fid'] || $forum['password'] !== '')
|
{ archive_error($lang->error_invalidforum); }
| { archive_error($lang->error_invalidforum); }
|