summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-11-16 13:16:50 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-11-16 13:16:50 +0000
commitdb2c726a4a8a8dbb8a4feb8009060f2e99664e25 (patch)
tree5792ef1e2a33e790e9f5a4579e812eb8528d04d4 /modules/user
parentc5f767073efcf455bacd9b8c90634b76e9265e77 (diff)
downloadbrdo-db2c726a4a8a8dbb8a4feb8009060f2e99664e25.tar.gz
brdo-db2c726a4a8a8dbb8a4feb8009060f2e99664e25.tar.bz2
#192659 by quicksketch: center table headers for checkbox columns, where checkboxes are also centered
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/user.admin.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/user.admin.inc b/modules/user/user.admin.inc
index 8fb427c24..34e3dafb2 100644
--- a/modules/user/user.admin.inc
+++ b/modules/user/user.admin.inc
@@ -592,7 +592,7 @@ function theme_user_admin_perm($form) {
$row[] = array('data' => drupal_render($form['permission'][$key]), 'class' => 'permission');
foreach (element_children($form['checkboxes']) as $rid) {
if (is_array($form['checkboxes'][$rid])) {
- $row[] = array('data' => drupal_render($form['checkboxes'][$rid][$key]), 'align' => 'center', 'title' => $roles[$rid] .' : '. t($key));
+ $row[] = array('data' => drupal_render($form['checkboxes'][$rid][$key]), 'class' => 'checkbox', 'title' => $roles[$rid] .' : '. t($key));
}
}
}
@@ -602,7 +602,7 @@ function theme_user_admin_perm($form) {
$header[] = (t('Permission'));
foreach (element_children($form['role_names']) as $rid) {
if (is_array($form['role_names'][$rid])) {
- $header[] = drupal_render($form['role_names'][$rid]);
+ $header[] = array('data' => drupal_render($form['role_names'][$rid]), 'class' => 'checkbox');
}
}
$output = theme('table', $header, $rows, array('id' => 'permissions'));