diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-02-08 19:28:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-02-08 19:28:33 +0000 |
commit | d77ac14c313707a582f52621c7c36e8c174d6e52 (patch) | |
tree | 90e82ad6a4128689419d5ba3f2985cc2d39e741d /modules | |
parent | 08b1729b8da69e9527a386d880434b235a070622 (diff) | |
download | brdo-d77ac14c313707a582f52621c7c36e8c174d6e52.tar.gz brdo-d77ac14c313707a582f52621c7c36e8c174d6e52.tar.bz2 |
- Patch #16972 by Neil: don't use align operations. Removed hard-coded CSS.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user.module | 4 | ||||
-rw-r--r-- | modules/user/user.module | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/user.module b/modules/user.module index 7c2df79cb..293588a0b 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 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' => '<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') .'" />'); |