diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-11-09 15:10:40 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-11-09 15:10:40 +0000 |
commit | 101107da976e9dbda11475406b1de894a9173f82 (patch) | |
tree | f36214e13efe9b370b593a691619f4f5f1abf44a /phpBB | |
parent | f4e99123f852ce0aad6d9a8c5b12b6910af9f6d3 (diff) | |
download | forums-101107da976e9dbda11475406b1de894a9173f82.tar forums-101107da976e9dbda11475406b1de894a9173f82.tar.gz forums-101107da976e9dbda11475406b1de894a9173f82.tar.bz2 forums-101107da976e9dbda11475406b1de894a9173f82.tar.xz forums-101107da976e9dbda11475406b1de894a9173f82.zip |
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9053 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/acp/acp_groups.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/phpBB/includes/acp/acp_groups.php b/phpBB/includes/acp/acp_groups.php index d242bbcdc9..2ee5ded01d 100644 --- a/phpBB/includes/acp/acp_groups.php +++ b/phpBB/includes/acp/acp_groups.php @@ -88,7 +88,7 @@ class acp_groups // Approve, demote or promote $group_name = ($group_row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $group_row['group_name']] : $group_row['group_name']; $error = group_user_attributes($action, $group_id, $mark_ary, false, $group_name); - + if (!$error) { switch ($action) @@ -112,7 +112,7 @@ class acp_groups { trigger_error($user->lang[$error] . adm_back_link($this->u_action . '&action=list&g=' . $group_id), E_USER_WARNING); } - + break; case 'default': @@ -180,7 +180,7 @@ class acp_groups case 'deleteusers': case 'delete': - if (!$group_id) + if (!$group_id) { trigger_error($user->lang['NO_GROUP'] . adm_back_link($this->u_action), E_USER_WARNING); } @@ -188,6 +188,7 @@ class acp_groups { trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING); } + if (confirm_box(true)) { $error = ''; @@ -752,14 +753,14 @@ class acp_groups foreach ($row_ary as $group_id => $row) { $group_name = (!empty($user->lang['G_' . $row['group_name']]))? $user->lang['G_' . $row['group_name']] : $row['group_name']; - + $template->assign_block_vars('groups', array( 'U_LIST' => "{$this->u_action}&action=list&g=$group_id", 'U_EDIT' => "{$this->u_action}&action=edit&g=$group_id", 'U_DELETE' => ($auth->acl_get('a_groupdel')) ? "{$this->u_action}&action=delete&g=$group_id" : '', 'S_GROUP_SPECIAL' => ($row['group_type'] == GROUP_SPECIAL) ? true : false, - + 'GROUP_NAME' => $group_name, 'TOTAL_MEMBERS' => $row['total_members'], ) |