2014-02-14 21:21:14 -05:00
|
|
|
<li class="hide-mobile">
|
2013-10-14 22:38:07 -04: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-14 21:21:14 -05:00
|
|
|
</a>
|
2013-10-14 22:38:07 -04:00
|
|
|
<?php else: ?>
|
|
|
|
<a
|
|
|
|
id="bookmark-<?= $item['id'] ?>"
|
2014-07-26 07:20:51 -04:00
|
|
|
class="item-bookmark"
|
2013-10-14 22:38:07 -04: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') ?>"
|
|
|
|
>
|
|
|
|
<?= t('bookmark') ?>
|
2014-02-14 21:21:14 -05:00
|
|
|
</a>
|
2013-10-14 22:38:07 -04:00
|
|
|
<?php endif ?>
|
2014-02-14 21:21:14 -05:00
|
|
|
</li>
|