summaryrefslogtreecommitdiff
path: root/modules/tracker
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/tracker
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/tracker')
-rw-r--r--modules/tracker/tracker.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module
index b75096f8d..75373a1ca 100644
--- a/modules/tracker/tracker.module
+++ b/modules/tracker/tracker.module
@@ -79,7 +79,7 @@ function tracker_posts($id = 0) {
$rows[] = array(array("data" => $type, "class" => "type"), array("data" => $title . $comments, "class" => "content"), array("data" => $author, "class" => "author"), array("data" => format_date($node->last_activity, "small"), "class" => "last_post"));
}
- if ($pager = pager_display(NULL, 10, 0, "default", tablesort_pager())) {
+ if ($pager = theme("pager", NULL, 10, 0, tablesort_pager())) {
$rows[] = array(array("data" => $pager, "colspan" => 4));
}