Commit caccc4c6 authored by Gábor Hojtsy's avatar Gábor Hojtsy

fixing all pager display calls to invoke theme('pager', ...) instead

parent b360ba2c
......@@ -199,7 +199,7 @@
$rows[] = array(($node->status ? l($node->title, "node/view/$node->nid") : $node->title), format_name($node), $node->timestamp_posted ? format_date($node->timestamp_posted) : " ", $node->timestamp_hidden ? format_date($node->timestamp_hidden) : " ", 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", tablesort_pager())) {
if ($pager = theme("pager", NULL, 50, 0, tablesort_pager())) {
$rows[] = array(array("data" => $pager, "colspan" => 6));
}
print theme("page", theme("table", $header, $rows));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment