Fix pagination

This commit is contained in:
Edi 2017-10-23 18:23:26 +02:00 committed by GitHub
parent 9aac2de4d8
commit d290814437

View File

@ -25,11 +25,11 @@
<ul class="pagination">
<?php
if (Paginator::showPrev()) {
echo '<li><a href="'.Paginator::prevPageUrl().'">'.$L->get('Next').'</a></li>';
echo '<li><a href="'.Paginator::prevPageUrl().'">'.$L->get('Previous page').'</a></li>';
}
if (Paginator::showNext()) {
echo '<li><a href="'.Paginator::nextPageUrl().'">'.$L->get('Previous').'</a></li>';
echo '<li><a href="'.Paginator::nextPageUrl().'">'.$L->get('Next page').'</a></li>';
}
?>
</ul>