From d77ac14c313707a582f52621c7c36e8c174d6e52 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 8 Feb 2005 19:28:33 +0000 Subject: - Patch #16972 by Neil: don't use align operations. Removed hard-coded CSS. --- modules/user/user.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/user/user.module') diff --git a/modules/user/user.module b/modules/user/user.module index 7c2df79cb..293588a0b 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1566,10 +1566,10 @@ function user_admin_role() { $header = array(t('Name'), t('Operations')); while ($role = db_fetch_object($result)) { if ($role->name != 'anonymous user' && $role->name != 'authenticated user') { - $rows[] = array($role->name, array('data' => l(t('edit'), "admin/access/roles/edit/$role->rid"), 'align' => 'center')); + $rows[] = array($role->name, l(t('edit'), 'admin/access/roles/edit/'. $role->rid)); } else { - $rows[] = array($role->name, array('data' => ''. t('locked') .'', 'align' => 'center')); + $rows[] = array($role->name, ''. t('locked') .''); } } $rows[] = array('', ''); -- cgit v1.2.3