';
foreach ($permission_type['columns'] as $column)
{
echo '
', sprintf($txt['permission_cannot_edit'], $scripturl . '?action=admin;area=permissions;sa=profiles'), ' '; echo '
'; if (empty($modSettings['permission_enable_deny']) || $context['group']['id'] == -1) echo ' | '; else echo ' | ', $txt['permissions_option_on'], ' | ', $txt['permissions_option_off'], ' | ', $txt['permissions_option_deny'], ' | '; echo '|||
---|---|---|---|---|---|---|---|
', $permissionGroup['name'], ' | '; if (empty($modSettings['permission_enable_deny']) || $context['group']['id'] == -1) echo '
| ';
else
echo '
|
|
| ';
echo '
|||
', $permission['help_index'] ? '' : '', ' | ', $permission['name'], ' | '; if (empty($modSettings['permission_enable_deny']) || $context['group']['id'] == -1) echo ''; else echo ' | '; echo ' | ||||