diff options
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/tu_list.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/web/template/tu_list.php b/web/template/tu_list.php index f80d2f5f..1f7280ae 100644 --- a/web/template/tu_list.php +++ b/web/template/tu_list.php @@ -53,4 +53,18 @@ ?> </tbody> </table> + <div class="pkglist-stats"> + <p class="pkglist-nav"> + <?php if ($result): + $by = htmlentities($by, ENT_QUOTES); ?> + <?php if ($nextresult > 0 && $off != 0): + $back = (($off - $limit) <= 0) ? 0 : $off - $limit; ?> + <a class="page" href='<?= get_uri('/tu/'); ?>?off=<?= $back ?>&by=<?= $by ?>'>‹ <?= __("Back") ?></a> + <?php endif; ?> + <?php if (($off + $limit) < $nextresult): + $forw = $off + $limit; ?> + <a class="page" href="<?= get_uri('/tu/'); ?>?off=<?= $forw ?>&by=<?= $by ?>"><?= __("Next") ?> ›</a> + <?php endif; ?> + <?php endif; ?> + </div> </div> |