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/path/path.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/path/path.module') diff --git a/modules/path/path.module b/modules/path/path.module index 86039a684..91d0b904a 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -204,7 +204,7 @@ function path_overview() { $rows[] = array($data->dst, $data->src, l(t("edit"), "admin/path/edit/$data->pid"), l(t("delete"), "admin/path/delete/$data->pid")); } - if ($pager = pager_display(NULL, 50, 0, "admin", tablesort_pager())) { + if ($pager = theme("pager", NULL, 50, 0, tablesort_pager())) { $rows[] = array(array("data" => $pager, "colspan" => "4")); } -- cgit v1.2.3