You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
591 B

<?php
/**
* @var \CodeIgniter\Pager\PagerRenderer $pager
*/
$pager->setSurroundCount(0);
?>
<nav>
<ul class="pager">
<li <?= $pager->hasPrevious() ? '' : 'class="disabled"' ?>>
<a href="<?= $pager->getPrevious() ?? '#' ?>" aria-label="<?= lang('Pager.previous') ?>">
<span aria-hidden="true"><?= lang('Pager.newer') ?></span>
</a>
</li>
<li <?= $pager->hasNext() ? '' : 'class="disabled"' ?>>
<a href="<?= $pager->getnext() ?? '#' ?>" aria-label="<?= lang('Pager.next') ?>">
<span aria-hidden="true"><?= lang('Pager.older') ?></span>
</a>
</li>
</ul>
</nav>