forked from GithubBackups/tinyib
empty board index will now display the page navigator properly
This commit is contained in:
parent
3a797ea3ef
commit
2213b136b7
@ -85,13 +85,14 @@ EOF;
|
|||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
function buildPage($htmlposts, $parent, $pages=-1, $thispage=0) {
|
function buildPage($htmlposts, $parent, $pages=0, $thispage=0) {
|
||||||
global $tinyib;
|
global $tinyib;
|
||||||
$managelink = basename($_SERVER['PHP_SELF']) . "?manage";
|
$managelink = basename($_SERVER['PHP_SELF']) . "?manage";
|
||||||
|
|
||||||
$postingmode = "";
|
$postingmode = "";
|
||||||
$pagenavigator = "";
|
$pagenavigator = "";
|
||||||
if ($parent == 0) {
|
if ($parent == 0) {
|
||||||
|
$pages = max($pages, 0);
|
||||||
$previous = ($thispage == 1) ? "index" : $thispage - 1;
|
$previous = ($thispage == 1) ? "index" : $thispage - 1;
|
||||||
$next = $thispage + 1;
|
$next = $thispage + 1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user