aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/pagination.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-13 19:09:29 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-13 19:09:29 +0100
commit8c72acbacb8fd4da39d505e8ac52e7e0cceed418 (patch)
tree85f1d8445a29e9d374fa1b399ed843b779f01fdd /app/views/helpers/pagination.phtml
parentc62ec2a14428b528e20896d4e62fa08891e1399c (diff)
Suppression code HTML inutile + amélioration CSS + restructuration du layout + correction bug mise à jour d'articles lorsqu'on visualise une catégorie
Diffstat (limited to 'app/views/helpers/pagination.phtml')
-rwxr-xr-xapp/views/helpers/pagination.phtml16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/views/helpers/pagination.phtml b/app/views/helpers/pagination.phtml
index d116302d0..f91e3d95d 100755
--- a/app/views/helpers/pagination.phtml
+++ b/app/views/helpers/pagination.phtml
@@ -5,10 +5,10 @@
?>
<ul class="pagination">
- <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)); ?>">‹ Anciens</a>
+ <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 } ?>
@@ -16,10 +16,10 @@
<li class="item pager-current">page <?php echo $this->currentPage; ?> / <?php echo $this->nbPage; ?></li>
- <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)); ?>">Récents ›</a>
+ <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 } else { ?>
&nbsp;
<?php } ?>