miniflux-legacy/templates/status_links.php

17 lines
744 B
PHP
Raw Normal View History

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