2014-02-15 03:21:14 +01:00
|
|
|
<li class="hide-mobile">
|
2013-10-15 04:38:07 +02:00
|
|
|
<?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') ?>
|
2014-02-15 03:21:14 +01:00
|
|
|
</a>
|
2013-10-15 04:38:07 +02:00
|
|
|
<?php else: ?>
|
|
|
|
<a
|
|
|
|
id="bookmark-<?= $item['id'] ?>"
|
|
|
|
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') ?>
|
2014-02-15 03:21:14 +01:00
|
|
|
</a>
|
2013-10-15 04:38:07 +02:00
|
|
|
<?php endif ?>
|
2014-02-15 03:21:14 +01:00
|
|
|
</li>
|