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/taxonomy/taxonomy.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/taxonomy/taxonomy.module') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 01447d37a..dd67863cb 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -683,7 +683,7 @@ function taxonomy_render_nodes($result) { } function taxonomy_page() { - global $theme; + // taxonomy querystring always parsed here // TODO: support term *names* in URL (e.g. taxonomy/view/or/milk,beer,red+wine) @@ -696,9 +696,9 @@ function taxonomy_page() { taxonomy_feed($taxonomy); break; default: - $theme->header(); + theme("header"); taxonomy_render_nodes(taxonomy_select_nodes($taxonomy)); - $theme->footer(); + theme("footer"); break; } } @@ -708,7 +708,7 @@ function taxonomy_page() { */ function taxonomy_admin() { - global $op, $edit, $theme; + global $op, $edit; if (user_access("administer taxonomy")) { if (empty($op)) { -- cgit v1.2.3