Commit de8128c8 authored by Dries's avatar Dries

- Patch #809384 by mgifford: title attribute should be inside control tag on admin interface.

parent 8a128c64
......@@ -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;
......
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