Commit d77ac14c authored by Dries's avatar Dries
Browse files

- Patch #16972 by Neil: don't use align operations. Removed hard-coded CSS.

parent 08b1729b
......@@ -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') .'" />');
......
......@@ -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') .'" />');
......
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