mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/6466] Use jQuery and custom dropdown for permission roles tooltips
PHPBB3-6466
This commit is contained in:
@@ -480,6 +480,12 @@ class auth_admin extends \phpbb\auth\auth
|
||||
|
||||
$title = ($role_description) ? ' title="' . $role_description . '"' : '';
|
||||
$s_role_options .= '<option value="' . $role_id . '"' . (($role_id == $current_role_id) ? ' selected="selected"' : '') . $title . '>' . $role_name . '</option>';
|
||||
$template->assign_block_vars('role_options', array(
|
||||
'ID' => $role_id,
|
||||
'ROLE_NAME' => $role_name,
|
||||
'TITLE' => $role_description,
|
||||
'SELECTED' => $role_id == $current_role_id,
|
||||
));
|
||||
}
|
||||
|
||||
if ($s_role_options)
|
||||
|
Reference in New Issue
Block a user