From 712a30b520c67ddc71c3f5a7b0a33ea3ae7b57b7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 8 Dec 2003 18:30:20 +0000 Subject: - Improvements by Goba: + removes the lots of pagers and indirect pager themeing + add the theme_pager() function, which should be called as theme("pager", ...) to get a pager. --- modules/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy.module') diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 6274798b1..dd31cc688 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -688,7 +688,7 @@ function taxonomy_render_nodes($result) { while ($node = db_fetch_object($result)) { $output .= node_view(node_load(array("nid" => $node->nid, "type" => $node->type)), 1); } - $output .= pager_display(NULL, variable_get("default_nodes_main", 10), 0); + $output .= theme("pager", NULL, variable_get("default_nodes_main", 10), 0); return $output; } -- cgit v1.2.3