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') ?>"
|
2014-09-16 17:07:53 +02:00
|
|
|
><?= t('remove bookmark') ?></a>
|
2013-10-15 04:38:07 +02:00
|
|
|
<?php else: ?>
|
|
|
|
<a
|
|
|
|
id="bookmark-<?= $item['id'] ?>"
|
2014-07-26 13:20:51 +02:00
|
|
|
class="item-bookmark"
|
2013-10-15 04:38:07 +02:00
|
|
|
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') ?>"
|
2014-09-16 17:07:53 +02:00
|
|
|
><?= t('bookmark') ?></a>
|
2013-10-15 04:38:07 +02:00
|
|
|
<?php endif ?>
|
2014-02-15 03:21:14 +01:00
|
|
|
</li>
|