summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-04-18 11:34:06 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-04-18 11:34:06 +0200
commitb4a74f895efdcc949731abf70c44580461c5c864 (patch)
treeab671b24cf8b58a6f8c10eeb021a7c7de05e7a50 /templates
parent900ece18e787b294aa1c424af543ec14817b2302 (diff)
downloadnextcloud-server-b4a74f895efdcc949731abf70c44580461c5c864.tar.gz
nextcloud-server-b4a74f895efdcc949731abf70c44580461c5c864.zip
proper links for next/previous buttons
Diffstat (limited to 'templates')
-rw-r--r--templates/part.pagenavi.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.pagenavi.php b/templates/part.pagenavi.php
index 1bb99b6173b..d48d0cada32 100644
--- a/templates/part.pagenavi.php
+++ b/templates/part.pagenavi.php
@@ -3,7 +3,7 @@
<tr>
<td width="1">
<?php if($_['page']>0):?>
- <span class="pagerbutton1"><a href="<?php echo $_['page']-1;?>">prev</a>&nbsp;&nbsp;</span>
+ <span class="pagerbutton1"><a href="<?php echo $_['url'].($_['page']-1);?>">prev</a>&nbsp;&nbsp;</span>
<?php endif; ?>
</td>
<td>
@@ -23,7 +23,7 @@
</td>
<td width="1">
<?php if(($_['page']+1)<$_['pagecount']):?>
- <span class="pagerbutton2"><a href="<?php echo $_['page']+1;?>">next</a></span>
+ <span class="pagerbutton2"><a href="<?php echo $_['url'].($_['page']+1);?>">next</a></span>
<?php endif; ?>
</td>
</tr>