Fix language paginator
This commit is contained in:
parent
5719189990
commit
dd9a14bafc
|
@ -70,15 +70,15 @@
|
||||||
|
|
||||||
<!-- Pagination -->
|
<!-- Pagination -->
|
||||||
<ul class="actions pagination">
|
<ul class="actions pagination">
|
||||||
<?php
|
|
||||||
// Show previus page link
|
|
||||||
if(Paginator::showPrev()) {
|
|
||||||
echo '<li><a href="'.Paginator::prevPageUrl().'" class="button big previous">Previous Page</a></li>';
|
|
||||||
}
|
|
||||||
|
|
||||||
// Show next page link
|
<!-- Show previus page link -->
|
||||||
if(Paginator::showNext()) {
|
<?php if(Paginator::showPrev()) { ?>
|
||||||
echo '<li><a href="'.Paginator::nextPageUrl().'" class="button big next">Next Page</a></li>';
|
<li><a href="<?php echo Paginator::prevPageUrl() ?>" class="button big previous"><?php $Language->p('Previous Page') ?></a></li>
|
||||||
}
|
<?php } ?>
|
||||||
?>
|
|
||||||
|
<!-- Show next page link -->
|
||||||
|
<?php if(Paginator::showNext()) { ?>
|
||||||
|
<li><a href="<?php echo Paginator::nextPageUrl() ?>" class="button big next"><?php $Language->p('Next Page') ?></a></li>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
Loading…
Reference in New Issue