2016-08-04 22:06:02 +02:00
|
|
|
<li class="hide-mobile">
|
|
|
|
<a
|
2016-10-02 04:24:33 +02:00
|
|
|
href="?action=mark-item-removed&id=<?php echo $item['id'] ?>&offset=<?php echo $offset ?>&redirect=<?php echo $menu ?>&feed_id=<?php echo $item['feed_id'] ?>"
|
2016-08-04 22:06:02 +02:00
|
|
|
data-action="mark-removed"
|
|
|
|
class="delete"
|
2016-10-02 04:24:33 +02:00
|
|
|
><?php echo t('remove') ?></a>
|
2016-08-04 22:06:02 +02:00
|
|
|
</li>
|
|
|
|
<li class="hide-mobile">
|
|
|
|
<?php if ($item['status'] == 'unread'): ?>
|
|
|
|
<a
|
|
|
|
class="mark"
|
2016-10-02 04:24:33 +02:00
|
|
|
href="?action=mark-item-read&id=<?php echo $item['id'] ?>&offset=<?php echo $offset ?>&redirect=<?php echo $menu ?>&feed_id=<?php echo $item['feed_id'] ?>"
|
2016-08-04 22:06:02 +02:00
|
|
|
data-action="mark-read"
|
2016-10-02 04:24:33 +02:00
|
|
|
data-reverse-label="<?php echo t('mark as unread') ?>"
|
|
|
|
><?php echo t('mark as read') ?></a>
|
2016-08-04 22:06:02 +02:00
|
|
|
<?php else: ?>
|
|
|
|
<a
|
|
|
|
class="mark"
|
2016-10-02 04:24:33 +02:00
|
|
|
href="?action=mark-item-unread&id=<?php echo $item['id'] ?>&offset=<?php echo $offset ?>&redirect=<?php echo $menu ?>&feed_id=<?php echo $item['feed_id'] ?>"
|
2016-08-04 22:06:02 +02:00
|
|
|
data-action="mark-unread"
|
2016-10-02 04:24:33 +02:00
|
|
|
data-reverse-label="<?php echo t('mark as read') ?>"
|
|
|
|
><?php echo t('mark as unread') ?></a>
|
2016-08-04 22:06:02 +02:00
|
|
|
<?php endif ?>
|
|
|
|
</li>
|