summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-08 18:30:20 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-08 18:30:20 +0000
commit712a30b520c67ddc71c3f5a7b0a33ea3ae7b57b7 (patch)
treeb4ca486bfb1394ab5e53051181c2cc7dd7804ef3 /modules/taxonomy
parentea1acde1d547dfea7b8d0531d1b9ae04f000ea53 (diff)
downloadbrdo-712a30b520c67ddc71c3f5a7b0a33ea3ae7b57b7.tar.gz
brdo-712a30b520c67ddc71c3f5a7b0a33ea3ae7b57b7.tar.bz2
- 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.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 6274798b1..dd31cc688 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/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;
}