diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-12-08 18:30:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-12-08 18:30:20 +0000 |
commit | 712a30b520c67ddc71c3f5a7b0a33ea3ae7b57b7 (patch) | |
tree | b4ca486bfb1394ab5e53051181c2cc7dd7804ef3 /modules/node/node.module | |
parent | ea1acde1d547dfea7b8d0531d1b9ae04f000ea53 (diff) | |
download | brdo-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/node/node.module')
-rw-r--r-- | modules/node/node.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 12e2e6197..5dbca8e60 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -694,7 +694,7 @@ function node_admin_nodes() { $rows[] = array(form_checkbox(NULL, "status][$node->nid", 1, 0), l($node->title, "node/view/$node->nid") ." ". (node_is_new($node->nid, $node->changed) ? theme_mark() : ""), module_invoke($node->type, "node", "name"), format_name($node), ($node->status ? t("published") : t("not published")), l(t("edit node"), "admin/node/edit/$node->nid"), l(t("delete node"), "admin/node/delete/$node->nid")); } - if ($pager = pager_display(NULL, 50, 0, "admin")) { + if ($pager = theme("pager", NULL, 50, 0)) { $rows[] = array(array("data" => $pager, "colspan" => 7)); } |