18 lines
745 B
PHP
18 lines
745 B
PHP
<?php if ($item['status'] == 'unread'): ?>
|
|
<span
|
|
class="read-icon"
|
|
href="?action=mark-item-read&id=<?= $item['id'] ?>&offset=<?= $offset ?>&redirect=<?= $redirect ?>&feed_id=<?= $item['feed_id'] ?>"
|
|
data-action="mark-read"
|
|
data-reverse-title="<?= t('mark as unread') ?>"
|
|
title="<?= t('mark as read') ?>"
|
|
></span>
|
|
<?php else: ?>
|
|
<span
|
|
class="read-icon"
|
|
href="?action=mark-item-unread&id=<?= $item['id'] ?>&offset=<?= $offset ?>&redirect=<?= $redirect ?>&feed_id=<?= $item['feed_id'] ?>"
|
|
data-action="mark-unread"
|
|
data-reverse-title="<?= t('mark as read') ?>"
|
|
title="<?= t('mark as unread') ?>"
|
|
></span>
|
|
<?php endif ?>
|