miniflux-legacy/templates/bookmark_links.php

17 lines
706 B
PHP
Raw Normal View History

2013-10-15 04:38:07 +02:00
<?php if ($item['bookmark']): ?>
2016-02-28 20:35:25 +01:00
<span
class="bookmark-icon"
2013-10-15 04:38:07 +02:00
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') ?>"
2016-02-28 20:35:25 +01:00
title="<?= t('remove bookmark') ?>"
></span>
2013-10-15 04:38:07 +02:00
<?php else: ?>
2016-02-28 20:35:25 +01:00
<span
class="bookmark-icon"
2013-10-15 04:38:07 +02:00
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') ?>"
2016-02-28 20:35:25 +01:00
title="<?= t('bookmark') ?>"
></span>
<?php endif ?>