miniflux-legacy/templates/bookmark_links.php

18 lines
707 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"
2016-03-03 15:51:47 +01:00
data-reverse-title="<?= 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"
2016-03-03 15:51:47 +01:00
data-reverse-title="<?= t('remove bookmark') ?>"
2016-02-28 20:35:25 +01:00
title="<?= t('bookmark') ?>"
></span>
2016-03-03 15:51:47 +01:00
<?php endif ?>