Vergleich editpost.php - 1.2.0 - 1.2.2

  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: editpost.php 2154 2006-08-27 16:52:47Z Tikitiki $

 * $Id: editpost.php 2385 2006-11-06 23:40:55Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 88Zeile 88
	{
if($thread['closed'] == "yes")
{

	{
if($thread['closed'] == "yes")
{

			redirect("showthread.php?tid=$tid", $lang->redirect_threadclosed);

			error($lang->redirect_threadclosed);

		}
if($forumpermissions['candeleteposts'] == "no")
{

		}
if($forumpermissions['candeleteposts'] == "no")
{

Zeile 106Zeile 106
	{
if($thread['closed'] == "yes")
{

	{
if($thread['closed'] == "yes")
{

			redirect("showthread.php?tid=$tid", $lang->redirect_threadclosed);

			error($lang->redirect_threadclosed);

		}
if($forumpermissions['caneditposts'] == "no")
{

		}
if($forumpermissions['caneditposts'] == "no")
{

Zeile 239Zeile 239
	}
else
{

	}
else
{

		redirect("showthread.php?tid={$tid}", $lang->redirect_nodelete);

		error($lang->redirect_nodelete);

	}
}


	}
}


Zeile 337Zeile 337
	if($forumpermissions['canpostattachments'] != "no")
{ // Get a listing of the current attachments, if there are any
$attachcount = 0;

	if($forumpermissions['canpostattachments'] != "no")
{ // Get a listing of the current attachments, if there are any
$attachcount = 0;

		if($mybb->input['posthash'])

		if($posthash)

		{

		{

			$posthash = "posthash='{$posthash}' OR ";

			$posthash_query = "posthash='{$posthash}' OR ";

		}
else
{

		}
else
{

			$posthash = "";

			$posthash_query = "";

		}

		}

		$query = $db->simple_select(TABLE_PREFIX."attachments", "*", "{$posthash}pid='{$pid}'");

		$query = $db->simple_select(TABLE_PREFIX."attachments", "*", "{$posthash_query}pid='{$pid}'");

		$attachments = '';
while($attachment = $db->fetch_array($query))
{

		$attachments = '';
while($attachment = $db->fetch_array($query))
{