Vergleich newthread.php - 1.8.31 - 1.8.36

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 95Zeile 95
check_forum_password($forum['fid']);

// If MyCode is on for this forum and the MyCode editor is enabled in the Admin CP, draw the code buttons and smilie inserter.

check_forum_password($forum['fid']);

// If MyCode is on for this forum and the MyCode editor is enabled in the Admin CP, draw the code buttons and smilie inserter.

 
$codebuttons = '';
$smilieinserter = '';

if($mybb->settings['bbcodeinserter'] != 0 && $forum['allowmycode'] != 0 && (!$mybb->user['uid'] || $mybb->user['showcodebuttons'] != 0))
{
$codebuttons = build_mycode_inserter("message", $forum['allowsmilies']);

if($mybb->settings['bbcodeinserter'] != 0 && $forum['allowmycode'] != 0 && (!$mybb->user['uid'] || $mybb->user['showcodebuttons'] != 0))
{
$codebuttons = build_mycode_inserter("message", $forum['allowsmilies']);

Zeile 184Zeile 186
				eval("\$postinsert = \"".$templates->get("post_attachments_attachment_postinsert")."\";");
}
eval("\$attach_rem_options = \"".$templates->get("post_attachments_attachment_remove")."\";");

				eval("\$postinsert = \"".$templates->get("post_attachments_attachment_postinsert")."\";");
}
eval("\$attach_rem_options = \"".$templates->get("post_attachments_attachment_remove")."\";");

 
			$attach_mod_options = '';

			eval("\$attemplate = \"".$templates->get("post_attachments_attachment")."\";");
$ret['template'] = $attemplate;


			eval("\$attemplate = \"".$templates->get("post_attachments_attachment")."\";");
$ret['template'] = $attemplate;


Zeile 374Zeile 377
	if(!isset($postoptions['signature']))
{
$postoptions['signature'] = 0;

	if(!isset($postoptions['signature']))
{
$postoptions['signature'] = 0;

	}

	}

	if(!isset($postoptions['subscriptionmethod']))
{
$postoptions['subscriptionmethod'] = 0;

	if(!isset($postoptions['subscriptionmethod']))
{
$postoptions['subscriptionmethod'] = 0;

Zeile 691Zeile 694
			$posticons = get_post_icons();
}
$subscription_method = get_subscription_method($tid); // Subscription method doesn't get saved in drafts

			$posticons = get_post_icons();
}
$subscription_method = get_subscription_method($tid); // Subscription method doesn't get saved in drafts

 
		$numpolloptions = "2";

	}

// Otherwise, this is our initial visit to this page.

	}

// Otherwise, this is our initial visit to this page.

Zeile 1100Zeile 1104
			$forum['rulestitle'] = $lang->sprintf($lang->forum_rules, $forum['name']);
}


			$forum['rulestitle'] = $lang->sprintf($lang->forum_rules, $forum['name']);
}


		if(!$parser)

		if(empty($parser))

		{
require_once MYBB_ROOT.'inc/class_parser.php';
$parser = new postParser;

		{
require_once MYBB_ROOT.'inc/class_parser.php';
$parser = new postParser;