proper links for next/previous buttons

This commit is contained in:
Robin Appelman 2011-04-18 11:34:06 +02:00
parent 900ece18e7
commit b4a74f895e

View file

@ -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>