Vergleich newthread.php - 1.8.27 - 1.8.35

  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 393Zeile 396

// Apply moderation options if we have them
$new_thread['modoptions'] = $mybb->get_input('modoptions', MyBB::INPUT_ARRAY);


// Apply moderation options if we have them
$new_thread['modoptions'] = $mybb->get_input('modoptions', MyBB::INPUT_ARRAY);





	$posthandler->set_data($new_thread);

// Now let the post handler do all the hard work.

	$posthandler->set_data($new_thread);

// Now let the post handler do all the hard work.

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 812Zeile 816
				$post['includesig'] = $mybb->input['postoptions']['signature'];
}
if(!isset($post['includesig']) || $post['includesig'] != 1)

				$post['includesig'] = $mybb->input['postoptions']['signature'];
}
if(!isset($post['includesig']) || $post['includesig'] != 1)

			{

			{

				$post['includesig'] = 0;
}


				$post['includesig'] = 0;
}


Zeile 1022Zeile 1026
		eval("\$attachbox = \"".$templates->get("post_attachments")."\";");

$bgcolor = alt_trow();

		eval("\$attachbox = \"".$templates->get("post_attachments")."\";");

$bgcolor = alt_trow();

 
	}
else
{
$attachbox = '';

	}

if($mybb->user['uid'])

	}

if($mybb->user['uid'])

Zeile 1096Zeile 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;