miniflux-legacy/templates/bookmark_links.php
2016-02-29 09:06:22 +03:00

17 lines
706 B
PHP

<?php if ($item['bookmark']): ?>
<span
class="bookmark-icon"
href="?action=bookmark&amp;value=0&amp;id=<?= $item['id'] ?>&amp;menu=<?= $menu ?>&amp;offset=<?= $offset ?>&amp;source=<?= $source ?>"
data-action="bookmark"
data-reverse-label="<?= t('bookmark') ?>"
title="<?= t('remove bookmark') ?>"
></span>
<?php else: ?>
<span
class="bookmark-icon"
href="?action=bookmark&amp;value=1&amp;id=<?= $item['id'] ?>&amp;menu=<?= $menu ?>&amp;offset=<?= $offset ?>&amp;source=<?= $source ?>"
data-action="bookmark"
data-reverse-label="<?= t('remove bookmark') ?>"
title="<?= t('bookmark') ?>"
></span>
<?php endif ?>