summaryrefslogtreecommitdiff
path: root/modules/forum
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/forum
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/forum')
-rw-r--r--modules/forum/forum.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 23c545f8a..d2bbbdc54 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -617,7 +617,7 @@ function theme_forum_topic_list($tid, $topics, $sortby, $forum_per_page, $offset
}
}
- if ($pager = pager_display(NULL, $forum_per_page, 0, "default", tablesort_pager())) {
+ if ($pager = theme("pager", NULL, $forum_per_page, 0, tablesort_pager())) {
$rows[] = array(array("data" => $pager, "colspan" => "5", "class" => "pager"));
}
}