mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17109] Check attach signature permissions
Don't show the attach signature option if the user doesn't have permission or if the signature feature is disabled for the board. PHPBB3-17109
This commit is contained in:
@@ -488,6 +488,8 @@ class ucp_prefs
|
||||
}
|
||||
|
||||
$template->assign_vars(array(
|
||||
'S_SIG_ALLOWED' => $config['allow_sig'] && $auth->acl_get('u_sig'),
|
||||
|
||||
'S_BBCODE' => $data['bbcode'],
|
||||
'S_SMILIES' => $data['smilies'],
|
||||
'S_SIG' => $data['sig'],
|
||||
|
Reference in New Issue
Block a user