Bug fix: translation/escape (php notice)
This commit is contained in:
parent
9da824c361
commit
0a89af853e
@ -14,7 +14,7 @@
|
|||||||
<nav class="top hide-desktop">
|
<nav class="top hide-desktop">
|
||||||
<span class="nav-left">
|
<span class="nav-left">
|
||||||
<?php if ($item_nav['previous']): ?>
|
<?php if ($item_nav['previous']): ?>
|
||||||
<a href="?action=show&menu=<?= $menu ?>&id=<?= $item_nav['previous']['id'] ?>" id="previous-item" title="<?= t($item_nav['previous']['title']) ?>">« <?= t('Previous') ?></a>
|
<a href="?action=show&menu=<?= $menu ?>&id=<?= $item_nav['previous']['id'] ?>" id="previous-item" title="<?= Helper\escape($item_nav['previous']['title']) ?>">« <?= t('Previous') ?></a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
« <?= t('Previous') ?>
|
« <?= t('Previous') ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
<span class="nav-right">
|
<span class="nav-right">
|
||||||
<?php if ($item_nav['next']): ?>
|
<?php if ($item_nav['next']): ?>
|
||||||
<a href="?action=show&menu=<?= $menu ?>&id=<?= $item_nav['next']['id'] ?>" id="next-item" title="<?= t($item_nav['next']['title']) ?>"><?= t('Next') ?> »</a>
|
<a href="?action=show&menu=<?= $menu ?>&id=<?= $item_nav['next']['id'] ?>" id="next-item" title="<?= Helper\escape($item_nav['next']['title']) ?>"><?= t('Next') ?> »</a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?= t('Next') ?> »
|
<?= t('Next') ?> »
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
@ -102,7 +102,7 @@
|
|||||||
<nav class="bottom">
|
<nav class="bottom">
|
||||||
<span class="nav-left">
|
<span class="nav-left">
|
||||||
<?php if ($item_nav['previous']): ?>
|
<?php if ($item_nav['previous']): ?>
|
||||||
<a href="?action=show&menu=<?= $menu ?>&id=<?= $item_nav['previous']['id'] ?>" id="previous-item" title="<?= t($item_nav['previous']['title']) ?>">« <?= t('Previous') ?></a>
|
<a href="?action=show&menu=<?= $menu ?>&id=<?= $item_nav['previous']['id'] ?>" id="previous-item" title="<?= Helper\escape($item_nav['previous']['title']) ?>">« <?= t('Previous') ?></a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
« <?= t('Previous') ?>
|
« <?= t('Previous') ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
@ -110,7 +110,7 @@
|
|||||||
|
|
||||||
<span class="nav-right">
|
<span class="nav-right">
|
||||||
<?php if ($item_nav['next']): ?>
|
<?php if ($item_nav['next']): ?>
|
||||||
<a href="?action=show&menu=<?= $menu ?>&id=<?= $item_nav['next']['id'] ?>" id="next-item" title="<?= t($item_nav['next']['title']) ?>"><?= t('Next') ?> »</a>
|
<a href="?action=show&menu=<?= $menu ?>&id=<?= $item_nav['next']['id'] ?>" id="next-item" title="<?= Helper\escape($item_nav['next']['title']) ?>"><?= t('Next') ?> »</a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?= t('Next') ?> »
|
<?= t('Next') ?> »
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user