proper links for next/previous buttons

remotes/origin/stable
Robin Appelman 14 years ago
parent 900ece18e7
commit b4a74f895e
  1. 4
      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>

Loading…
Cancel
Save