diff options
| author | 2013-05-05 13:20:13 +0200 | |
|---|---|---|
| committer | 2013-05-05 13:20:13 +0200 | |
| commit | 2e7afb7d340eb367d65ac042ae24a10fa021c073 (patch) | |
| tree | 27208483aac8262cdc42ee492a0f222991a0b4fa /app/views/helpers/pagination.phtml | |
| parent | ae7c9787cd8afd4313d356c6525e40d4ce79f99b (diff) | |
| parent | d4e6176a1ae210c011b14839023f91b4014f2881 (diff) | |
Merge branch 'releases'0.3.0
Diffstat (limited to 'app/views/helpers/pagination.phtml')
| -rwxr-xr-x | app/views/helpers/pagination.phtml | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/app/views/helpers/pagination.phtml b/app/views/helpers/pagination.phtml index f91e3d95d..f029f281a 100755 --- a/app/views/helpers/pagination.phtml +++ b/app/views/helpers/pagination.phtml @@ -5,23 +5,12 @@ ?> <ul class="pagination"> - <li class="item pager-previous"> - <?php if ($this->currentPage > 1) { ?> - <?php $params[$getteur] = $this->currentPage - 1; ?> - <a href="<?php echo Url::display (array ('c' => $c, 'a' => $a, 'params' => $params)); ?>">‹ plus récents</a> - <?php } else { ?> - - <?php } ?> - </li> - - <li class="item pager-current">page <?php echo $this->currentPage; ?> / <?php echo $this->nbPage; ?></li> - <li class="item pager-next"> - <?php if ($this->currentPage < $this->nbPage) { ?> - <?php $params[$getteur] = $this->currentPage + 1; ?> - <a href="<?php echo Url::display (array ('c' => $c, 'a' => $a, 'params' => $params)); ?>">plus anciens ›</a> + <?php if ($this->next != '') { ?> + <?php $params[$getteur] = $this->next; ?> + <a href="<?php echo Url::display (array ('c' => $c, 'a' => $a, 'params' => $params)); ?>"><?php echo Translate::t ('load_more'); ?></a> <?php } else { ?> - + <?php echo Translate::t ('nothing_to_load'); ?> <?php } ?> </li> </ul> |
