miniflux-legacy/templates/bookmark_links.php

24 lines
855 B
PHP
Raw Normal View History

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&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') ?>
2014-02-14 21:21:14 -05:00
</a>
2013-10-14 22:38:07 -04:00
<?php else: ?>
<a
id="bookmark-<?= $item['id'] ?>"
class="item-bookmark"
2013-10-14 22:38:07 -04:00
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') ?>
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>