miniflux-legacy/templates/bookmark_links.php
2014-07-26 07:20:51 -04:00

24 lines
855 B
PHP

<li class="hide-mobile">
<?php if ($item['bookmark']): ?>
<a
id="bookmark-<?= $item['id'] ?>"
href="?action=bookmark&amp;value=0&amp;id=<?= $item['id'] ?>&amp;menu=<?= $menu ?>&amp;offset=<?= $offset ?>&amp;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&amp;value=1&amp;id=<?= $item['id'] ?>&amp;menu=<?= $menu ?>&amp;offset=<?= $offset ?>&amp;source=<?= $source ?>"
data-action="bookmark"
data-item-id="<?= $item['id'] ?>"
data-reverse-label="<?= t('remove bookmark') ?>"
>
<?= t('bookmark') ?>
</a>
<?php endif ?>
</li>