diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-05-29 16:05:16 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-05-29 16:05:16 +0200 |
commit | 467c794b9779412cf2cc29deb42c232168989486 (patch) | |
tree | 39e47da377997045dcd99f0a29c25df0b0310227 /phpBB/includes/acp/auth.php | |
parent | a3d46575c7f520dc9731ed4e9221c636c5c7c31e (diff) | |
download | forums-467c794b9779412cf2cc29deb42c232168989486.tar forums-467c794b9779412cf2cc29deb42c232168989486.tar.gz forums-467c794b9779412cf2cc29deb42c232168989486.tar.bz2 forums-467c794b9779412cf2cc29deb42c232168989486.tar.xz forums-467c794b9779412cf2cc29deb42c232168989486.zip |
[ticket/6466] Use jQuery and custom dropdown for permission roles tooltips
PHPBB3-6466
Diffstat (limited to 'phpBB/includes/acp/auth.php')
-rw-r--r-- | phpBB/includes/acp/auth.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/acp/auth.php b/phpBB/includes/acp/auth.php index 644b1ac7a5..0f149ca907 100644 --- a/phpBB/includes/acp/auth.php +++ b/phpBB/includes/acp/auth.php @@ -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) |