diff options
Diffstat (limited to 'modules/user/user.admin.inc')
-rw-r--r-- | modules/user/user.admin.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/user/user.admin.inc b/modules/user/user.admin.inc index 84abde5ed..905016054 100644 --- a/modules/user/user.admin.inc +++ b/modules/user/user.admin.inc @@ -758,7 +758,9 @@ function theme_user_admin_permissions($variables) { 'class' => array('permission'), ); foreach (element_children($form['checkboxes']) as $rid) { - $row[] = array('data' => drupal_render($form['checkboxes'][$rid][$key]), 'class' => array('checkbox'), 'title' => $roles[$rid] . ' : ' . t($key)); + $form['checkboxes'][$rid][$key]['#title'] = $roles[$rid] . ': ' . t($key); + $form['checkboxes'][$rid][$key]['#title_display'] = 'invisible'; + $row[] = array('data' => drupal_render($form['checkboxes'][$rid][$key]), 'class' => array('checkbox')); } } $rows[] = $row; |