|
|
@@ -17,9 +17,14 @@
|
|
|
</li>
|
|
|
|
|
|
<?php $params[$getteur] = $this->currentPage - 1; ?>
|
|
|
+
|
|
|
+
|
|
|
<li class="item pager-previous">
|
|
|
+ <?php if ($this->currentPage > 1) { ?>
|
|
|
<a href="<?= Minz_Url::display(array('c' => $c, 'a' => $a, 'params' => $params)) ?>">‹ <?= _t('conf.logs.pagination.previous') ?></a>
|
|
|
+ <?php } ?>
|
|
|
</li>
|
|
|
+
|
|
|
|
|
|
<?php if ($this->currentPage - 2 > 1) { ?>
|
|
|
<li class="item">…</a></li>
|
|
|
@@ -28,8 +33,8 @@
|
|
|
<?php
|
|
|
for ($i = $this->currentPage - 2; $i <= $this->currentPage + 2; $i++) {
|
|
|
if($i > 0 && $i <= $this->nbPage) {
|
|
|
+ $params[$getteur] = $i;
|
|
|
if ($i != $this->currentPage) {
|
|
|
- $params[$getteur] = $i;
|
|
|
$class = '';
|
|
|
$aria = 'false';
|
|
|
} else {
|
|
|
@@ -46,9 +51,13 @@
|
|
|
<?php } ?>
|
|
|
|
|
|
<?php $params[$getteur] = $this->currentPage + 1; ?>
|
|
|
+
|
|
|
<li class="item pager-next">
|
|
|
+ <?php if ($this->currentPage < $this->nbPage) { ?>
|
|
|
<a href="<?= Minz_Url::display(array('c' => $c, 'a' => $a, 'params' => $params)) ?>"><?= _t('conf.logs.pagination.next') ?> ›</a>
|
|
|
+ <?php } ?>
|
|
|
</li>
|
|
|
+
|
|
|
<?php $params[$getteur] = $this->nbPage; ?>
|
|
|
<li class="item pager-last">
|
|
|
<a href="<?= Minz_Url::display(array('c' => $c, 'a' => $a, 'params' => $params)) ?>"><?= _t('conf.logs.pagination.last') ?> »</a>
|