Fix language paginator

This commit is contained in:
Edi 2017-10-19 21:26:49 +02:00 committed by GitHub
parent 5719189990
commit dd9a14bafc
1 changed files with 11 additions and 11 deletions

View File

@ -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>