From f711baceb7ab2c1a9abfa558a55ce862e2092138 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Fri, 24 May 2002 12:27:10 +0000 Subject: - the user_admin_edit() would loose the theme settings. - added some more help text to page.module. --- modules/user.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/user.module') diff --git a/modules/user.module b/modules/user.module index b671915ab..5242a5b50 100644 --- a/modules/user.module +++ b/modules/user.module @@ -1044,7 +1044,7 @@ function user_delete() { } function user_edit($edit = array()) { - global $themes, $user, $languages; + global $user, $languages; if ($user->uid) { if ($edit["name"]) { @@ -1535,7 +1535,7 @@ function user_admin_role($edit = array()) { } function user_admin_edit($edit = array()) { - global $op, $id, $themes; + global $op, $id; if ($account = user_load(array("uid" => $id))) { @@ -1617,7 +1617,7 @@ function user_admin_edit($edit = array()) { $output .= form_textfield(t("Homepage"), "homepage", $account->homepage, 30, 55, t("Optional") .". ". t("Make sure you enter a fully qualified URL: remember to include \"http://\".")); foreach (theme_list() as $key => $value) { - $options .= "$value[type]\n"; + $options .= "$value[type]\n"; } $output .= form_item(t("Theme"), "", t("Selecting a different theme will change the look and feel of the site.")); for ($zone = -43200; $zone <= 46800; $zone += 3600) $zones[$zone] = date("l, F dS, Y - h:i A", time() - date("Z") + $zone) ." (GMT ". $zone / 3600 .")"; @@ -1677,7 +1677,7 @@ function admin_access_init() { } function user_admin() { - global $edit, $id, $op, $user; + global $edit, $id, $op; if (user_access("administer users")) { /* -- cgit v1.2.3