Line 30 | Line 30 |
---|
global $db, $user, $auth, $template, $cache, $phpbb_container; global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
|
global $db, $user, $auth, $template, $cache, $phpbb_container; global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
|
include_once($phpbb_root_path . 'includes/functions_user.' . $phpEx); include_once($phpbb_root_path . 'includes/acp/auth.' . $phpEx);
| if (!function_exists('user_get_id_name')) { include($phpbb_root_path . 'includes/functions_user.' . $phpEx); }
if (!class_exists('auth_admin')) { include($phpbb_root_path . 'includes/acp/auth.' . $phpEx); }
|
$this->permissions = $phpbb_container->get('acl.permissions');
| $this->permissions = $phpbb_container->get('acl.permissions');
|
Line 748 | Line 755 |
---|
$this->log_action($mode, 'add', $permission_type, $ug_type, $ug_id, $forum_id);
|
$this->log_action($mode, 'add', $permission_type, $ug_type, $ug_id, $forum_id);
|
| meta_refresh(5, $this->u_action);
|
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action)); }
| trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action)); }
|
Line 818 | Line 826 |
---|
if ($mode == 'setting_forum_local' || $mode == 'setting_mod_local') {
|
if ($mode == 'setting_forum_local' || $mode == 'setting_mod_local') {
|
| meta_refresh(5, $this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_ids));
|
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_ids))); } else {
|
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_ids))); } else {
|
| meta_refresh(5, $this->u_action);
|
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action)); } }
| trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action)); } }
|
Line 892 | Line 902 |
---|
if ($mode == 'setting_forum_local' || $mode == 'setting_mod_local') {
|
if ($mode == 'setting_forum_local' || $mode == 'setting_mod_local') {
|
| meta_refresh(5, $this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_id));
|
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_id))); } else {
|
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_id))); } else {
|
| meta_refresh(5, $this->u_action);
|
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action)); } }
| trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action)); } }
|