From 2fa2497744c77ed17daecb7833484e879da50216 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 23 Nov 2003 11:19:36 +0000 Subject: - Committed patch #165 by Moshe. --- modules/system/system.module | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index 32149bc28..e8f992c2a 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -88,14 +88,14 @@ function system_link($type) { } function system_user($type, &$edit, $user) { - $options = "\n"; - if ($type == "edit_form" && count($themes = list_themes()) > 1) { - foreach ($themes as $key => $value) { - $options .= "\n"; - } - $output .= form_item(t("Theme"), "", t("Selecting a different theme will change the look and feel of the site.")); - } if ($type == "edit_form") { + $options = "\n"; + if (count($themes = list_themes()) > 1) { + foreach ($themes as $key => $value) { + $options .= "\n"; + } + $output .= form_item(t("Theme"), "", t("Selecting a different theme will change the look and feel of the site.")); + } $zonelist = array(-11, -10, -9.5, -9, -8, -7, -6, -5, -4, -3.5, -3, -2, -1, 0, 1, 2, 3, 3.5, 4, 5, 5.5, 5.75, 6, 6.5, 7, 8, 9, 9.5, 10, 10.5, 11, 11.5, 12, 12.75, 13, 14); foreach ($zonelist as $offset) { $zone = $offset * 3600; -- cgit v1.2.3