From 1fc8a18c2d74ec4ce5247b6abedddaadbcde3e34 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 29 May 2003 10:18:38 +0000 Subject: - Al's CSS patches. This commit improves the themability of some core components such as lists, form items, removes an ugly hack from the archive module and should fix the poll problem (although it doesn't Opera/Konqueror). --- modules/archive/archive.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/archive/archive.module') diff --git a/modules/archive/archive.module b/modules/archive/archive.module index 5953223ba..45391227d 100644 --- a/modules/archive/archive.module +++ b/modules/archive/archive.module @@ -170,9 +170,9 @@ function archive_page() { $months = array(1 => t("January"), 2 => t("February"), 3 => t("March"), 4 => t("April"), 5 => t("May"), 6 => t("June"), 7 => t("July"), 8 => t("August"), 9 => t("September"), 10 => t("October"), 11 => t("November"), 12 => t("December")); for ($i = 1; $i <= 31; $i++) $days[$i] = $i; - $start = form_select("", "year", ($year ? $year : date("Y")), $years). form_select("", "month", ($month ? $month : date("m")), $months) . form_select("", "day", ($day ? $day : date("d")), $days) . form_submit(t("Show")); - $start = ereg_replace("<[/]?p>", "", $start); - + $start = "
"; + $start .= form_select("", "year", ($year ? $year : date("Y")), $years). form_select("", "month", ($month ? $month : date("m")), $months) . form_select("", "day", ($day ? $day : date("d")), $days) . form_submit(t("Show")); + $start .= "
"; theme("box", t("Archives"), form($start)); /* -- cgit v1.2.3