File: includes/acp/auth.php
Unmodified
Added
Modified
Removed
Line 1113 | Line 1113 |
---|
@reset($category_array); while (list($cat, $cat_array) = each($category_array)) {
|
@reset($category_array); while (list($cat, $cat_array) = each($category_array)) {
|
| if (!$phpbb_permissions->category_defined($cat)) { continue; }
|
$template->assign_block_vars($tpl_cat, array( 'S_YES' => ($cat_array['S_YES'] && !$cat_array['S_NEVER'] && !$cat_array['S_NO']) ? true : false, 'S_NEVER' => ($cat_array['S_NEVER'] && !$cat_array['S_YES'] && !$cat_array['S_NO']) ? true : false,
| $template->assign_block_vars($tpl_cat, array( 'S_YES' => ($cat_array['S_YES'] && !$cat_array['S_NEVER'] && !$cat_array['S_NO']) ? true : false, 'S_NEVER' => ($cat_array['S_NEVER'] && !$cat_array['S_YES'] && !$cat_array['S_NO']) ? true : false,
|
Line 1139 | Line 1144 |
---|
@reset($cat_array['permissions']); while (list($permission, $allowed) = each($cat_array['permissions'])) {
|
@reset($cat_array['permissions']); while (list($permission, $allowed) = each($cat_array['permissions'])) {
|
| if (!$phpbb_permissions->permission_defined($permission)) { continue; }
|
if ($s_view) { $template->assign_block_vars($tpl_cat . '.' . $tpl_mask, array(
| if ($s_view) { $template->assign_block_vars($tpl_cat . '.' . $tpl_mask, array(
|