diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2008-05-29 13:59:47 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2008-05-29 13:59:47 +0000 |
commit | bb8a48817c3808729dfdbb0bae86d642907c37e2 (patch) | |
tree | 8623d3dc106efb8ccd489981d02f340271ae521e /phpBB/memberlist.php | |
parent | a3368632d0a0f3effec49f4f2b7d3b3323f883b4 (diff) | |
download | forums-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.php | 2 |
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&mode=overview&u=' . $user_id, true, $user->session_id) : '', + 'U_USER_BAN' => ($auth->acl_get('m_ban')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=ban&mode=user&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&u={$user_id}") : '', 'S_ZEBRA' => ($user->data['user_id'] != $user_id && $user->data['is_registered'] && $zebra_enabled) ? true : false, |