Zeile 6 | Zeile 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 4625 2009-12-20 20:24:54Z RyanGordon $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 20 | Zeile 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 219 | Zeile 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 233 | Zeile 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);
|
Zeile 343 | Zeile 345 |
---|
if(!$mybb->input['action'] || $mybb->input['action'] == "editpost") {
|
if(!$mybb->input['action'] || $mybb->input['action'] == "editpost") {
|
$plugins->run_hooks("editpost_start");
| $plugins->run_hooks("editpost_action_start");
|
if(!$mybb->input['previewpost']) {
| if(!$mybb->input['previewpost']) {
|