Merge branch 'master' into master

This commit is contained in:
Stéphane Goetz 2017-05-18 22:23:36 +02:00 committed by GitHub
commit 399ca791d5

View File

@ -22,7 +22,11 @@
<?= $page['content']; ?> <?= $page['content']; ?>
</div> </div>
<?php if ((!isset($params['html']['jump_buttons']) || $params['html']['jump_buttons']) && (!empty($page['prev']) || !empty($page['next']))) {?> <?php
$buttons = (!empty($page['prev']) || !empty($page['next']));
$has_option = array_key_exists('jump_buttons', $params['html']);
if ($buttons && (($has_option && $params['html']['jump_buttons']) || !$has_option)) {
?>
<nav> <nav>
<ul class="Pager"> <ul class="Pager">
<?php if (!empty($page['prev'])) { <?php if (!empty($page['prev'])) {