34 lines
1.2 KiB
PHP
34 lines
1.2 KiB
PHP
<li class="hide-mobile">
|
|
<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>
|
|
</li>
|
|
<li>
|
|
<?php if ($item['status'] == 'unread'): ?>
|
|
<a
|
|
id="status-<?= $item['id'] ?>"
|
|
class="item-mark"
|
|
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') ?>
|
|
</a>
|
|
<?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') ?>
|
|
</a>
|
|
<?php endif ?>
|
|
</li>
|