1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 00:37:42 +02:00

[ticket/12804] Hide Jabber from UCP & member search when disabled

PHPBB3-12804
This commit is contained in:
PayBas
2014-07-07 08:59:38 +02:00
parent 0bec9897d7
commit c5b4d0afb7
4 changed files with 16 additions and 10 deletions

View File

@@ -1286,6 +1286,7 @@ switch ($mode)
'S_IP_SEARCH_ALLOWED' => ($auth->acl_getf_global('m_info')) ? true : false,
'S_EMAIL_SEARCH_ALLOWED'=> ($auth->acl_get('a_user')) ? true : false,
'S_JABBER_ENABLED' => ($config['jab_enable']) ? true : false,
'S_IN_SEARCH_POPUP' => ($form && $field) ? true : false,
'S_SEARCH_USER' => ($mode == 'searchuser' || ($mode == '' && $submit)),
'S_FORM_NAME' => $form,