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/tracker/tracker.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/tracker/tracker.module') 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)); } -- cgit v1.2.3