2014-02-15 03:21:14 +01:00
|
|
|
<li class="hide-mobile">
|
2014-07-26 14:01:25 +02:00
|
|
|
<a
|
|
|
|
href="?action=mark-item-removed&id=<?= $item['id'] ?>&offset=<?= $offset ?>&redirect=<?= $redirect ?>&feed_id=<?= $item['feed_id'] ?>"
|
|
|
|
data-action="mark-removed"
|
|
|
|
data-item-id="<?= $item['id'] ?>"
|
|
|
|
class="item-delete"
|
|
|
|
>
|
|
|
|
<?= t('remove') ?>
|
|
|
|
</a>
|
2014-02-15 03:21:14 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2013-10-15 04:38:07 +02:00
|
|
|
<?php if ($item['status'] == 'unread'): ?>
|
|
|
|
<a
|
|
|
|
id="status-<?= $item['id'] ?>"
|
2014-07-26 13:20:51 +02:00
|
|
|
class="item-mark"
|
2013-10-15 04:38:07 +02:00
|
|
|
href="?action=mark-item-read&id=<?= $item['id'] ?>&offset=<?= $offset ?>&redirect=<?= $redirect ?>&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-05 03:47:59 +01:00
|
|
|
</a>
|
2013-10-15 04:38:07 +02:00
|
|
|
<?php else: ?>
|
|
|
|
<a
|
|
|
|
id="status-<?= $item['id'] ?>"
|
|
|
|
href="?action=mark-item-unread&id=<?= $item['id'] ?>&offset=<?= $offset ?>&redirect=<?= $redirect ?>&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-05 03:47:59 +01:00
|
|
|
</a>
|
2013-10-15 04:38:07 +02:00
|
|
|
<?php endif ?>
|
2014-02-15 03:21:14 +01:00
|
|
|
</li>
|