1
0
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:
Marc Alexander
2015-05-29 16:05:16 +02:00
parent a3d46575c7
commit 467c794b97
5 changed files with 119 additions and 71 deletions

View File

@@ -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)