summaryrefslogtreecommitdiffstats
path: root/help
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-04-21 23:04:16 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-04-21 23:04:16 +0200
commitcf76cad9317fae94c4dc9328db777e0feb562d26 (patch)
tree1d4591c71a59e7c2c734f87caa326705fa79440e /help
parent741519fa79bcc261479a1745c347413c75128ed4 (diff)
downloadnextcloud-server-cf76cad9317fae94c4dc9328db777e0feb562d26.tar.gz
nextcloud-server-cf76cad9317fae94c4dc9328db777e0feb562d26.zip
change printPageNavi() to getPageNavi() to allow some more flexibility
Diffstat (limited to 'help')
-rw-r--r--help/templates/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/help/templates/index.php b/help/templates/index.php
index 262ab3d8cab..a117c3d5fb4 100644
--- a/help/templates/index.php
+++ b/help/templates/index.php
@@ -15,7 +15,8 @@
</table>
<?php
$url=OC_HELPER::linkTo( "help", "index.php" ).'?page=';
- OC_UTIL::showPageNavi($_['pagecount'],$_['page'],$url);
+ $pageNavi=OC_UTIL::getPageNavi($_['pagecount'],$_['page'],$url);
+ $pageNavi->printPage();
?>
<a target="_blank" class="prettybutton" href="http://apps.owncloud.com/knowledgebase/editquestion.php?action=new">ASK A QUESTION</a>