Zeile 788 | Zeile 788 |
---|
$fields_array = $db->show_fields_from("forumpermissions"); foreach($fields_array as $field) {
|
$fields_array = $db->show_fields_from("forumpermissions"); foreach($fields_array as $field) {
|
if(!in_array($field['field'], $hidefields) && (strpos($field['Field'], 'can') !== false || strpos($field['Field'], 'mod') !== false))
| if(!in_array($field['Field'], $hidefields) && (strpos($field['Field'], 'can') !== false || strpos($field['Field'], 'mod') !== false))
|
{ if(array_key_exists($field['Field'], $groups)) {
| { if(array_key_exists($field['Field'], $groups)) {
|
Zeile 1199 | Zeile 1199 |
---|
foreach($usergroups as $usergroup) { $perms = array();
|
foreach($usergroups as $usergroup) { $perms = array();
|
if(isset($mybb->input['default_permissions']) && $mybb->input['default_permissions'][$usergroup['gid']])
| if(!empty($mybb->input['default_permissions'][$usergroup['gid']]))
|
{ if(isset($existing_permissions) && is_array($existing_permissions) && $existing_permissions[$usergroup['gid']]) {
| { if(isset($existing_permissions) && is_array($existing_permissions) && $existing_permissions[$usergroup['gid']]) {
|
Zeile 1228 | Zeile 1228 |
---|
{ if(isset($mybb->input['permissions'])) {
|
{ if(isset($mybb->input['permissions'])) {
|
if($mybb->input['default_permissions'][$usergroup['gid']])
| if(!empty($mybb->input['default_permissions'][$usergroup['gid']]))
|
{ $default_checked = true; }
| { $default_checked = true; }
|