[forumdirectory] Use new Pager constructor and renderFull signatures
This commit is contained in:
parent
6f421a74c6
commit
d4340af4fc
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ function forumdirectory_content(App $a)
|
|||
$total = $r[0]['total'];
|
||||
}
|
||||
|
||||
$pager = new Pager($a->query_string, $total, 60);
|
||||
$pager = new Pager($a->query_string, 60);
|
||||
|
||||
$order = " ORDER BY `name` ASC ";
|
||||
|
||||
|
@ -210,7 +210,7 @@ function forumdirectory_content(App $a)
|
|||
}
|
||||
|
||||
$o .= "<div class=\"directory-end\" ></div>\r\n";
|
||||
$o .= $pager->renderFull();
|
||||
$o .= $pager->renderFull($total);
|
||||
} else {
|
||||
info(L10n::t("No entries \x28some entries may be hidden\x29.") . EOL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue