24 lines
855 B
PHP
24 lines
855 B
PHP
<li class="hide-mobile">
|
|
<?php if ($item['bookmark']): ?>
|
|
<a
|
|
id="bookmark-<?= $item['id'] ?>"
|
|
href="?action=bookmark&value=0&id=<?= $item['id'] ?>&menu=<?= $menu ?>&offset=<?= $offset ?>&source=<?= $source ?>"
|
|
data-action="bookmark"
|
|
data-item-id="<?= $item['id'] ?>"
|
|
data-reverse-label="<?= t('bookmark') ?>"
|
|
>
|
|
<?= t('remove bookmark') ?>
|
|
</a>
|
|
<?php else: ?>
|
|
<a
|
|
id="bookmark-<?= $item['id'] ?>"
|
|
class="item-bookmark"
|
|
href="?action=bookmark&value=1&id=<?= $item['id'] ?>&menu=<?= $menu ?>&offset=<?= $offset ?>&source=<?= $source ?>"
|
|
data-action="bookmark"
|
|
data-item-id="<?= $item['id'] ?>"
|
|
data-reverse-label="<?= t('remove bookmark') ?>"
|
|
>
|
|
<?= t('bookmark') ?>
|
|
</a>
|
|
<?php endif ?>
|
|
</li>
|