From 86552cb4b6a83dc218ea0164ddb7c9670f224ddb Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sat, 11 May 2002 16:21:48 +0000 Subject: - changed block, module and theme config pages to use checkboxes. - coding style clean ups. - fixed taxonomy causing errors. --- modules/archive.module | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/archive.module') diff --git a/modules/archive.module b/modules/archive.module index 1d711a9a8..73d070676 100644 --- a/modules/archive.module +++ b/modules/archive.module @@ -146,9 +146,8 @@ function archive_page() { $edit["day"] = date("d", $date); } - $start = str_replace(":
", " ", form_select("", "year", ($edit["year"] ? $edit["year"] : date("Y")), $years) . form_select("", "month", ($edit["month"] ? $edit["month"] : date("m")), $months) . form_select("", "day", ($edit["day"] ? $edit["day"] : date("d")), $days) . form_submit(t("Show"))); - $start = str_replace("

", "", $start); - $start = str_replace("

\n", " ", $start); + $start = form_select("", "year", ($edit["year"] ? $edit["year"] : date("Y")), $years) . form_select("", "month", ($edit["month"] ? $edit["month"] : date("m")), $months) . form_select("", "day", ($edit["day"] ? $edit["day"] : date("d")), $days) . form_submit(t("Show")); + $start = ereg_replace("<[/]?p>", "", $start); $theme->box(t("Archives"), form($start)); -- cgit v1.2.3