diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-07-28 02:04:44 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-07-28 02:04:44 +0000 |
commit | de8128c8f2bb1170f98ae7126188a99228e84bb8 (patch) | |
tree | 53e961399d276652147e589c8d063ff0c707d3c8 | |
parent | 8a128c645cbc5b9c75a386ec3a9633568c5d0b43 (diff) | |
download | brdo-de8128c8f2bb1170f98ae7126188a99228e84bb8.tar.gz brdo-de8128c8f2bb1170f98ae7126188a99228e84bb8.tar.bz2 |
- Patch #809384 by mgifford: title attribute should be inside control tag on admin interface.
-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; |