- Patch #28301 by jjeff: show tooltip when hovering over a permission. Temoprary

solution until we have a better permission page.
4.7.x
Dries Buytaert 2005-09-15 21:45:21 +00:00
parent 5971f1e645
commit ce3b6d4eee
2 changed files with 2 additions and 2 deletions

View File

@ -1604,7 +1604,7 @@ function user_admin_perm() {
foreach ($permissions as $perm) {
$row[] = array('data' => t($perm), 'class' => 'permission');
foreach ($role_names as $rid => $name) {
$row[] = form_checkbox('', "$rid][$perm", 1, strstr($role_permissions[$rid], $perm));
$row[] = form_checkbox('', "$rid][$perm", 1, strstr($role_permissions[$rid], $perm), NULL, array('title' => $name .': '. t($perm)));
}
$rows[] = $row;
unset($row);

View File

@ -1604,7 +1604,7 @@ function user_admin_perm() {
foreach ($permissions as $perm) {
$row[] = array('data' => t($perm), 'class' => 'permission');
foreach ($role_names as $rid => $name) {
$row[] = form_checkbox('', "$rid][$perm", 1, strstr($role_permissions[$rid], $perm));
$row[] = form_checkbox('', "$rid][$perm", 1, strstr($role_permissions[$rid], $perm), NULL, array('title' => $name .': '. t($perm)));
}
$rows[] = $row;
unset($row);