Issue #0001653: for pagination

This commit is contained in:
Aram HARUTYUNYAN 2013-08-26 10:48:03 +00:00
parent 546e4d4d75
commit 7257c3497b

View File

@ -0,0 +1,30 @@
<?php if ($this->pageCount) { ?>
<!-- First page link -->
<?php if (isset($this->previous)) { ?>
<a href="<?php echo $this->url(array('page' => $this->first)); ?>"><img src="/themes/default/images/worldcheck/first.png" title='Première page'/></a>
<?php } else { ?>
<span class="disabled"><img src="/themes/default/images/worldcheck/first.png" /></span>
<?php } ?>
<!-- Previous page link -->
<?php if (isset($this->previous)) { ?>
<a href="<?php echo $this->url(array('page' => $this->previous)); ?>"><img src="/themes/default/images/worldcheck/prev.png" title='Page précédente'/></a>
<?php } else { ?>
<span class="disabled"><img src="/themes/default/images/worldcheck/prev.png" /></span>
<?php } ?>
&nbsp;
<!-- Next page link -->
<?php if (isset($this->next)) { ?>
<a href="<?php echo $this->url(array('page' => $this->next)); ?>"><img src="/themes/default/images/worldcheck/next.png" title='Page suivante'/></a>
<?php } else { ?>
<span class="disabled"><img src="/themes/default/images/worldcheck/next.png" /></span>
<?php } ?>
<!-- Last page link -->
<?php if (isset($this->next)) { ?>
<a href="<?php echo $this->url(array('page' => $this->last)); ?>"><img src="/themes/default/images/worldcheck/last.png" title='Dernière page'/></a>
<?php } else { ?>
<span class="disabled"><img src="/themes/default/images/worldcheck/last.png" /></span>
<?php } ?>
<?php } ?>