Vergleich editpost.php - 1.4.3 - 1.4.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: editpost.php 4143 2008-08-22 02:47:25Z Tikitiki $

 * $Id: editpost.php 4280 2008-11-27 07:27:58Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 20Zeile 20

// Load global language phrases
$lang->load("editpost");


// Load global language phrases
$lang->load("editpost");

 

$plugins->run_hooks("editpost_start");


// No permission for guests
if(!$mybb->user['uid'])


// No permission for guests
if(!$mybb->user['uid'])

Zeile 219Zeile 221
		$modlogdata['tid'] = $tid;
if($firstpost)
{

		$modlogdata['tid'] = $tid;
if($firstpost)
{

			if($forumpermissions['candeletethreads'] == 1)

			if($forumpermissions['candeletethreads'] == 1 || is_moderator($fid, "candeleteposts"))

			{
delete_thread($tid);
mark_reports($tid, "thread");

			{
delete_thread($tid);
mark_reports($tid, "thread");

Zeile 233Zeile 235
		}
else
{

		}
else
{

			if($forumpermissions['candeleteposts'] == 1)

			if($forumpermissions['candeleteposts'] == 1 || is_moderator($fid, "candeleteposts"))

			{
// Select the first post before this
delete_post($pid, $tid);

			{
// Select the first post before this
delete_post($pid, $tid);