commit
c2b181693b
|
@ -57,6 +57,16 @@ article.page footer {
|
|||
text-align: right;
|
||||
}
|
||||
|
||||
/* PAGINATION */
|
||||
|
||||
.pagination {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.pagination > li > a.float-right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* PLUGINS */
|
||||
|
||||
div.plugin:not(:last-child) {
|
||||
|
|
|
@ -26,3 +26,15 @@
|
|||
</article>
|
||||
<?php endforeach ?>
|
||||
</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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue