proper links for next/previous buttons
This commit is contained in:
parent
900ece18e7
commit
b4a74f895e
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
<tr>
|
||||
<td width="1">
|
||||
<?php if($_['page']>0):?>
|
||||
<span class="pagerbutton1"><a href="<?php echo $_['page']-1;?>">prev</a> </span>
|
||||
<span class="pagerbutton1"><a href="<?php echo $_['url'].($_['page']-1);?>">prev</a> </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…
Reference in a new issue