diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2005-12-21 19:18:42 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-12-21 19:18:42 +0000 |
commit | 1ec71c78b690d87beccb8e6e84fa8bfa6f7a5f2c (patch) | |
tree | df17a442cee350712f35ef725bad495c3e913e65 /phpBB/includes/acp/acp_groups.php | |
parent | f4f2ab3a35ed74eefe713c9d3d9aada841201161 (diff) | |
download | forums-1ec71c78b690d87beccb8e6e84fa8bfa6f7a5f2c.tar forums-1ec71c78b690d87beccb8e6e84fa8bfa6f7a5f2c.tar.gz forums-1ec71c78b690d87beccb8e6e84fa8bfa6f7a5f2c.tar.bz2 forums-1ec71c78b690d87beccb8e6e84fa8bfa6f7a5f2c.tar.xz forums-1ec71c78b690d87beccb8e6e84fa8bfa6f7a5f2c.zip |
- and finally, user groups. :)
git-svn-id: file:///svn/phpbb/trunk@5366 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_groups.php')
-rw-r--r-- | phpBB/includes/acp/acp_groups.php | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_groups.php b/phpBB/includes/acp/acp_groups.php index 35f6f61936..44b763b310 100644 --- a/phpBB/includes/acp/acp_groups.php +++ b/phpBB/includes/acp/acp_groups.php @@ -385,6 +385,19 @@ class acp_groups avatar_gallery($category, $avatar_select, 4); } + $back_link = request_var('back_link', ''); + + switch ($back_link) + { + case 'acp_users_groups': + $u_back = $phpbb_admin_path . "index.$phpEx$SID&i=users&mode=groups&u=" . request_var('u', 0); + break; + + default: + $u_back = $u_action; + break; + } + $template->assign_vars(array( 'S_EDIT' => true, 'S_INCLUDE_SWATCH' => true, @@ -416,7 +429,7 @@ class acp_groups 'GROUP_CLOSED' => $type_closed, 'GROUP_HIDDEN' => $type_hidden, - 'U_BACK' => $u_action, + 'U_BACK' => $u_back, 'U_SWATCH' => "{$phpbb_admin_path}swatch.$phpEx$SID&form=settings&name=group_colour", 'U_ACTION' => "{$u_action}&action=$action&g=$group_id", 'L_AVATAR_EXPLAIN' => sprintf($user->lang['AVATAR_EXPLAIN'], $config['avatar_max_width'], $config['avatar_max_height'], round($config['avatar_filesize'] / 1024)), |