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
|
2014-09-16 20:42:15 +02:00
|
|
|
class="bookmark"
|
2013-10-15 04:38:07 +02:00
|
|
|
href="?action=bookmark&value=0&id=<?= $item['id'] ?>&menu=<?= $menu ?>&offset=<?= $offset ?>&source=<?= $source ?>"
|
|
|
|
data-action="bookmark"
|
|
|
|
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
|
2014-09-16 20:42:15 +02:00
|
|
|
class="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-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>
|