aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/pagination.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/helpers/pagination.phtml')
-rwxr-xr-xapp/views/helpers/pagination.phtml19
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 { ?>
- &nbsp;
- <?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 { ?>
- &nbsp;
+ <?php echo Translate::t ('nothing_to_load'); ?>
<?php } ?>
</li>
</ul>