From d77ac14c313707a582f52621c7c36e8c174d6e52 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Tue, 8 Feb 2005 19:28:33 +0000
Subject: [PATCH] - Patch #16972 by Neil: don't use align operations.  Removed
 hard-coded CSS.

---
 modules/user.module      | 4 ++--
 modules/user/user.module | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/user.module b/modules/user.module
index 7c2df79cb90a..293588a0b73d 100644
--- a/modules/user.module
+++ b/modules/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' => '<span class="disabled">'. t('locked') .'</span>', 'align' => 'center'));
+        $rows[] = array($role->name, '<span class="disabled">'. t('locked') .'</span>');
       }
     }
     $rows[] = array('<input type="text" size="32" maxlength="64" name="edit[name]" />', '<input type="submit" name="op" value="'. t('Add role') .'" />');
diff --git a/modules/user/user.module b/modules/user/user.module
index 7c2df79cb90a..293588a0b73d 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' => '<span class="disabled">'. t('locked') .'</span>', 'align' => 'center'));
+        $rows[] = array($role->name, '<span class="disabled">'. t('locked') .'</span>');
       }
     }
     $rows[] = array('<input type="text" size="32" maxlength="64" name="edit[name]" />', '<input type="submit" name="op" value="'. t('Add role') .'" />');
-- 
GitLab