miniflux-legacy/app/templates/items/bookmark_links.php

17 lines
793 B
PHP
Raw Permalink 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=<?php echo $item['id'] ?>&amp;offset=<?php echo $offset ?>&amp;redirect=<?php echo $menu ?>&amp;feed_id=<?php echo $item['feed_id'] ?>"
2013-10-15 04:38:07 +02:00
data-action="bookmark"
data-reverse-label="<?php echo t('bookmark') ?>"
><?php echo 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=<?php echo $item['id'] ?>&amp;offset=<?php echo $offset ?>&amp;redirect=<?php echo $menu ?>&amp;feed_id=<?php echo $item['feed_id'] ?>"
2013-10-15 04:38:07 +02:00
data-action="bookmark"
data-reverse-label="<?php echo t('remove bookmark') ?>"
><?php echo t('bookmark') ?></a>
2016-03-03 15:51:47 +01:00
<?php endif ?>
</li>