Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: sendthread.php 5380 2011-02-21 12:04:43Z Tomm $
| * $Id$
|
*/
define("IN_MYBB", 1); define('THIS_SCRIPT', 'sendthread.php');
|
*/
define("IN_MYBB", 1); define('THIS_SCRIPT', 'sendthread.php');
|
$templatelist = "sendthread";
| $templatelist = "sendthread,forumdisplay_password_wrongpass,forumdisplay_password";
|
require_once "./global.php"; require_once MYBB_ROOT."inc/functions_post.php";
| require_once "./global.php"; require_once MYBB_ROOT."inc/functions_post.php";
|
Zeile 62 | Zeile 62 |
---|
}
// This user can't view this forum or this thread
|
}
// This user can't view this forum or this thread
|
if($forumpermissions['canview'] != 1 || $forumpermissions['canviewthreads'] != 1)
| if($forumpermissions['canview'] == 0 || $forumpermissions['canviewthreads'] == 0 || ($forumpermissions['canonlyviewownthreads'] != 0 && $thread['uid'] != $mybb->user['uid']))
|
{ error_no_permission(); }
| { error_no_permission(); }
|