From 83f5d82876e6b2102c2b5839b430f1d5f9a23ec1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 15 Feb 2003 11:39:56 +0000 Subject: - Everything is using theme("function") now instead of $theme->function(). --- modules/archive/archive.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/archive') diff --git a/modules/archive/archive.module b/modules/archive/archive.module index f4ab70eb3..6395c693d 100644 --- a/modules/archive/archive.module +++ b/modules/archive/archive.module @@ -137,9 +137,9 @@ function archive_link($type) { } function archive_page() { - global $date, $edit, $theme, $op, $month, $year, $meta; + global $date, $edit, $op, $month, $year, $meta; - $theme->header(); + theme("header"); if (user_access("access content")) { if ($op == t("Show")) { @@ -166,7 +166,7 @@ function archive_page() { $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); - $theme->box(t("Archives"), form($start)); + theme("box", t("Archives"), form($start)); /* ** Fetch nodes for the selected date, or current date if none @@ -185,7 +185,7 @@ function archive_page() { message_access(); } - $theme->footer(); + theme("footer"); } function archive_settings() { -- cgit v1.2.3