Vergleich newthread.php - 1.00 - 1.02

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * $Id$

 * $Id: newthread.php 926 2005-12-05 12:33:38Z chris $

 */

 */

 
define("KILL_GLOBALS", 1);


$templatelist = "newthread,previewpost,error_invalidforum,redirect_newthread,loginbox,changeuserbox,newthread_postpoll,posticons,attachment,newthread_postpoll,codebuttons,smilieinsert,error_nosubject";
$templatelist .= "posticons";


$templatelist = "newthread,previewpost,error_invalidforum,redirect_newthread,loginbox,changeuserbox,newthread_postpoll,posticons,attachment,newthread_postpoll,codebuttons,smilieinsert,error_nosubject";
$templatelist .= "posticons";

Zeile 153Zeile 154

$plugins->run_hooks("newthread_start");



$plugins->run_hooks("newthread_start");


	if($mybb->input['previewpost'] || $maximageserror)

	if($mybb->input['previewpost'] || $mybb->input['newattachment'] || $mybb->input['removeattachment']|| $maximageserror)

	{
$postoptions = $mybb->input['postoptions'];
if($postoptions['signature'] == "yes")

	{
$postoptions = $mybb->input['postoptions'];
if($postoptions['signature'] == "yes")

Zeile 247Zeile 248

$postbit = makepostbit($post, 1);
eval("\$preview = \"".$templates->get("previewpost")."\";");


$postbit = makepostbit($post, 1);
eval("\$preview = \"".$templates->get("previewpost")."\";");

 
		$message = htmlspecialchars_uni($mybb->input['message']);
$subject = htmlspecialchars_uni($mybb->input['subject']);
}
if($mybb->input['newattachment'] || $mybb->input['removeattachment'])
{

		$message = htmlspecialchars_uni($mybb->input['message']);
$subject = htmlspecialchars_uni($mybb->input['subject']);
}

		$message = htmlspecialchars_uni($mybb->input['message']);
$subject = htmlspecialchars_uni($mybb->input['subject']);
}