aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/memberlist.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2008-05-29 13:59:47 +0000
committerHenry Sudhof <kellanved@phpbb.com>2008-05-29 13:59:47 +0000
commitbb8a48817c3808729dfdbb0bae86d642907c37e2 (patch)
tree8623d3dc106efb8ccd489981d02f340271ae521e /phpBB/memberlist.php
parenta3368632d0a0f3effec49f4f2b7d3b3323f883b4 (diff)
downloadforums-bb8a48817c3808729dfdbb0bae86d642907c37e2.tar
forums-bb8a48817c3808729dfdbb0bae86d642907c37e2.tar.gz
forums-bb8a48817c3808729dfdbb0bae86d642907c37e2.tar.bz2
forums-bb8a48817c3808729dfdbb0bae86d642907c37e2.tar.xz
forums-bb8a48817c3808729dfdbb0bae86d642907c37e2.zip
What use is a shiny banstick(TM) if nobody finds it?
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8574 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r--phpBB/memberlist.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index 7f7657a3a4..aba14e04b8 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -551,6 +551,8 @@ switch ($mode)
'S_CUSTOM_FIELDS' => (isset($profile_fields['row']) && sizeof($profile_fields['row'])) ? true : false,
'U_USER_ADMIN' => ($auth->acl_get('a_user')) ? append_sid("{$phpbb_root_path}adm/index.$phpEx", 'i=users&amp;mode=overview&amp;u=' . $user_id, true, $user->session_id) : '',
+ 'U_USER_BAN' => ($auth->acl_get('m_ban')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=ban&amp;mode=user&amp;u=' . $user_id) : '',
+
'U_SWITCH_PERMISSIONS' => ($auth->acl_get('a_switchperm') && $user->data['user_id'] != $user_id) ? append_sid("{$phpbb_root_path}ucp.$phpEx", "mode=switch_perm&amp;u={$user_id}") : '',
'S_ZEBRA' => ($user->data['user_id'] != $user_id && $user->data['is_registered'] && $zebra_enabled) ? true : false,