9 lines
741 B
PHP
9 lines
741 B
PHP
<div id="items-paging">
|
|
<?php if ($offset > 0): ?>
|
|
<a id="previous-page" href="?action=<?= $menu ?>&offset=<?= ($offset - $items_per_page) ?>&order=<?= $order ?>&direction=<?= $direction ?><?= isset($feed_id) ? '&feed_id='.$feed_id : '' ?><?= isset($group_id) ? '&group_id='.$group_id : '' ?>">« <?= t('Previous page') ?></a>
|
|
<?php endif ?>
|
|
|
|
<?php if (($nb_items - $offset) > $items_per_page): ?>
|
|
<a id="next-page" href="?action=<?= $menu ?>&offset=<?= ($offset + $items_per_page) ?>&order=<?= $order ?>&direction=<?= $direction ?><?= isset($feed_id) ? '&feed_id='.$feed_id : '' ?><?= isset($group_id) ? '&group_id='.$group_id : '' ?>"><?= t('Next page') ?> »</a>
|
|
<?php endif ?>
|
|
</div>
|