diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-02-15 11:39:56 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-02-15 11:39:56 +0000 |
commit | 83f5d82876e6b2102c2b5839b430f1d5f9a23ec1 (patch) | |
tree | 01fdcbf42575cd001bfd87af07b9ef1bd1ea8453 /modules/archive | |
parent | d03872979756371aeff787bca107db9a88d7004a (diff) | |
download | brdo-83f5d82876e6b2102c2b5839b430f1d5f9a23ec1.tar.gz brdo-83f5d82876e6b2102c2b5839b430f1d5f9a23ec1.tar.bz2 |
- Everything is using theme("function") now instead of $theme->function().
Diffstat (limited to 'modules/archive')
-rw-r--r-- | modules/archive/archive.module | 8 |
1 files changed, 4 insertions, 4 deletions
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() { |