From de8128c8f2bb1170f98ae7126188a99228e84bb8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 28 Jul 2010 02:04:44 +0000 Subject: - Patch #809384 by mgifford: title attribute should be inside control tag on admin interface. --- modules/user/user.admin.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules') 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; -- cgit v1.2.3