Pagination
This commit is contained in:
parent
d290814437
commit
8075e3bbfe
|
@ -26,3 +26,15 @@
|
||||||
</article>
|
</article>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<!-- Pagination -->
|
||||||
|
<ul class="pagination">
|
||||||
|
<?php
|
||||||
|
if (Paginator::showPrev()) {
|
||||||
|
echo '<li><a href="'.Paginator::prevPageUrl().'">'.$L->get('Previous page').'</a></li>';
|
||||||
|
}
|
||||||
|
if (Paginator::showNext()) {
|
||||||
|
echo '<li><a href="'.Paginator::nextPageUrl().'" class="float-right">'.$L->get('Next page').'</a></li>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue