Add group_id to the previous page link

This commit is contained in:
denfil 2016-02-28 17:40:48 +03:00
parent a2976cf542
commit 341a2e4ee5

View File

@ -1,6 +1,6 @@
<div id="items-paging"> <div id="items-paging">
<?php if ($offset > 0): ?> <?php if ($offset > 0): ?>
<a id="previous-page" href="?action=<?= $menu ?>&amp;offset=<?= ($offset - $items_per_page) ?>&amp;order=<?= $order ?>&amp;direction=<?= $direction ?><?= isset($feed_id) ? '&amp;feed_id='.$feed_id : '' ?>">« <?= t('Previous page') ?></a> <a id="previous-page" href="?action=<?= $menu ?>&amp;offset=<?= ($offset - $items_per_page) ?>&amp;order=<?= $order ?>&amp;direction=<?= $direction ?><?= isset($feed_id) ? '&amp;feed_id='.$feed_id : '' ?><?= isset($group_id) ? '&amp;group_id='.$group_id : '' ?>">« <?= t('Previous page') ?></a>
<?php endif ?> <?php endif ?>
&nbsp; &nbsp;
<?php if (($nb_items - $offset) > $items_per_page): ?> <?php if (($nb_items - $offset) > $items_per_page): ?>