Zeile 6 | Zeile 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$
| * $Id: functions.php 966 2005-12-12 23:33:28Z chris $
|
*/
/* Do not change the following line if you wish to receive technical support */
|
*/
/* Do not change the following line if you wish to receive technical support */
|
$mybboard['internalver'] = "1.00"; $mybboard['vercode'] = "100.07";
| $mybboard['internalver'] = "1.01"; $mybboard['vercode'] = "100.08";
|
// // Outputs the contents of a page rendering variables
| // // Outputs the contents of a page rendering variables
|
Zeile 432 | Zeile 432 |
---|
if($access == 0) { $usergroup[$perm] = 0;
|
if($access == 0) { $usergroup[$perm] = 0;
|
| $zerogreater = 1;
|
} }
|
} }
|
elseif($access > $permbit || ($access == "yes" && $permbit == "no") || !$permbit)
| if(($access > $permbit || ($access == "yes" && $permbit == "no") || !$permbit) && $zerogreater != 1)
|
{ $usergroup[$perm] = $access; }
|
{ $usergroup[$perm] = $access; }
|
| $zerogreater = 0;
|
} } }
| } } }
|
Zeile 488 | Zeile 489 |
---|
} else {
|
} else {
|
$gid = $mybb->user['usergroup'].",".$mybbuser['additionalgroups'];
| $gid = $mybb->user['usergroup'].",".$mybb->user['additionalgroups'];
|
$groupperms = $mybbgroup; } }
| $groupperms = $mybbgroup; } }
|
Zeile 523 | Zeile 524 |
---|
// function fetch_forum_permissions($fid, $gid, $groupperms) {
|
// function fetch_forum_permissions($fid, $gid, $groupperms) {
|
global $groupscache, $forumcache, $fpermcache;
| global $groupscache, $forumcache, $fpermcache, $mybb;
|
$groups = explode(",", $gid); if(!$fpermcache[$fid]) // This forum has no custom or inherited permisssions so lets just return the group permissions {
| $groups = explode(",", $gid); if(!$fpermcache[$fid]) // This forum has no custom or inherited permisssions so lets just return the group permissions {
|