2011-08-20 03:07:58 +00:00
|
|
|
<ol class="pager">
|
|
|
|
<?php if($_['page']>0):?>
|
2013-02-27 21:55:39 +00:00
|
|
|
<li class="pagerbutton1"><a href="<?php print_unescaped($_['url'].($_['page']-1));?>"><?php p($l->t( 'prev' )); ?></a></li>
|
2011-08-20 03:07:58 +00:00
|
|
|
<?php endif; ?>
|
|
|
|
<?php if ($_['pagestart']>0):?>
|
|
|
|
…
|
|
|
|
<?php endif;?>
|
|
|
|
<?php for ($i=$_['pagestart']; $i < $_['pagestop'];$i++):?>
|
|
|
|
<?php if ($_['page']!=$i):?>
|
2013-02-27 21:55:39 +00:00
|
|
|
<li><a href="<?php print_unescaped($_['url'].$i);?>"><?php p($i+1);?></a></li>
|
2011-08-20 03:07:58 +00:00
|
|
|
<?php else:?>
|
2013-02-27 21:55:39 +00:00
|
|
|
<li><?php p($i+1);?></li>
|
2011-08-20 03:07:58 +00:00
|
|
|
<?php endif?>
|
|
|
|
<?php endfor;?>
|
|
|
|
<?php if ($_['pagestop']<$_['pagecount']):?>
|
|
|
|
…
|
|
|
|
<?php endif;?>
|
|
|
|
|
|
|
|
<?php if(($_['page']+1)<$_['pagecount']):?>
|
2013-02-27 21:55:39 +00:00
|
|
|
<li class="pagerbutton2"><a href="<?php print_unescaped($_['url'].($_['page']+1));?>"><?php p($l->t( 'next' )); ?></a></li>
|
2011-08-20 03:07:58 +00:00
|
|
|
<?php endif; ?>
|
|
|
|
</ol>
|