miniflux-legacy/templates/status_links.php

34 lines
1.2 KiB
PHP
Raw Normal View History

2014-02-14 21:21:14 -05:00
<li class="hide-mobile">
<a
href="?action=mark-item-removed&amp;id=<?= $item['id'] ?>&amp;offset=<?= $offset ?>&amp;redirect=<?= $redirect ?>&amp;feed_id=<?= $item['feed_id'] ?>"
data-action="mark-removed"
data-item-id="<?= $item['id'] ?>"
class="item-delete"
>
<?= t('remove') ?>
</a>
2014-02-14 21:21:14 -05:00
</li>
<li>
2013-10-14 22:38:07 -04:00
<?php if ($item['status'] == 'unread'): ?>
<a
id="status-<?= $item['id'] ?>"
class="item-mark"
2013-10-14 22:38:07 -04:00
href="?action=mark-item-read&amp;id=<?= $item['id'] ?>&amp;offset=<?= $offset ?>&amp;redirect=<?= $redirect ?>&amp;feed_id=<?= $item['feed_id'] ?>"
data-action="mark-read"
data-item-id="<?= $item['id'] ?>"
data-reverse-label="<?= t('mark as unread') ?>"
>
<?= t('mark as read') ?>
2014-02-04 21:47:59 -05:00
</a>
2013-10-14 22:38:07 -04:00
<?php else: ?>
<a
id="status-<?= $item['id'] ?>"
href="?action=mark-item-unread&amp;id=<?= $item['id'] ?>&amp;offset=<?= $offset ?>&amp;redirect=<?= $redirect ?>&amp;feed_id=<?= $item['feed_id'] ?>"
data-action="mark-unread"
data-item-id="<?= $item['id'] ?>"
data-reverse-label="<?= t('mark as read') ?>"
>
<?= t('mark as unread') ?>
2014-02-04 21:47:59 -05:00
</a>
2013-10-14 22:38:07 -04:00
<?php endif ?>
2014-02-14 21:21:14 -05:00
</li>