Commit ce3b6d4e authored by Dries's avatar Dries

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

  solution until we have a better permission page.
parent 5971f1e6
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment