Add basing pagin support in HTML catalog
这个提交存在于:
父节点
96312d71cf
当前提交
be4bcf3e9f
共有 2 个文件被更改,包括 46 次插入 和 0 次删除
24
index.php
24
index.php
|
@ -218,6 +218,30 @@
|
|||
}
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
if ($config['cops_max_item_per_page'] != -1 && $currentPage->totalNumber != -1) {
|
||||
$prevLink = $currentPage->getPrevLink ();
|
||||
$nextLink = $currentPage->getNextLink ();
|
||||
?>
|
||||
<div>
|
||||
<?php
|
||||
if (!is_null ($prevLink)) {
|
||||
?>
|
||||
<a href="<?php echo $prevLink->hrefXhtml () ?>" >Prev</a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if (!is_null ($nextLink)) {
|
||||
?>
|
||||
<a href="<?php echo $nextLink->hrefXhtml () ?>" >Next</a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
正在加载…
添加表格
添加链接
在新工单中引用