Issue #0001653: for pagination
This commit is contained in:
parent
546e4d4d75
commit
7257c3497b
30
application/views/default/scripts/worldcheck/controls.phtml
Normal file
30
application/views/default/scripts/worldcheck/controls.phtml
Normal 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 } ?>
|
||||||
|
|
||||||
|
<!-- 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 } ?>
|
Loading…
Reference in New Issue
Block a user