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: functions_modcp.php 4111 2008-08-13 06:14:12Z Tikitiki $
| * $Id: functions_modcp.php 4304 2009-01-02 01:11:56Z chris $
|
*/
/**
| */
/**
|
Zeile 28 | Zeile 28 |
---|
return false; } // Current user is a super mod or is an administrator
|
return false; } // Current user is a super mod or is an administrator
|
else if($mybb->usergroup['issupermod'] == 1 && $user_permissions['cancp'] == 1 || (is_super_admin($uid) && !is_super_admin($mybb->user['uid'])))
| else if($user_permissions['cancp'] == 1 && ($mybb->usergroup['cancp'] != 1 || (is_super_admin($uid) && !is_super_admin($mybb->user['uid']))))
|
{ return false; }
| { return false; }
|
Zeile 57 | Zeile 57 |
---|
{ foreach($forum_cache as $forum) {
|
{ foreach($forum_cache as $forum) {
|
$forums_by_parent[$forum['pid']][$val['disporder']][$forum['fid']] = $forum;
| $forums_by_parent[$forum['pid']][$forum['disporder']][$forum['fid']] = $forum;
|
} }
| } }
|