miniflux-legacy/templates/bookmark_links.php

17 lines
701 B
PHP
Raw Normal View History

<li class="hide-mobile">
2013-10-15 04:38:07 +02:00
<?php if ($item['bookmark']): ?>
<a
class="bookmark"
href="?action=bookmark&amp;value=0&amp;id=<?= $item['id'] ?>&amp;offset=<?= $offset ?>&amp;menu=<?= $menu ?>&amp;feed_id=<?= $item['feed_id'] ?>"
2013-10-15 04:38:07 +02:00
data-action="bookmark"
data-reverse-label="<?= t('bookmark') ?>"
><?= t('remove bookmark') ?></a>
2013-10-15 04:38:07 +02:00
<?php else: ?>
<a
class="bookmark"
href="?action=bookmark&amp;value=1&amp;id=<?= $item['id'] ?>&amp;offset=<?= $offset ?>&amp;menu=<?= $menu ?>&amp;feed_id=<?= $item['feed_id'] ?>"
2013-10-15 04:38:07 +02:00
data-action="bookmark"
data-reverse-label="<?= t('remove bookmark') ?>"
><?= t('bookmark') ?></a>
2016-03-03 15:51:47 +01:00
<?php endif ?>
</li>