17 lines
744 B
PHP
17 lines
744 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-label="<?= 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-label="<?= t('mark as read') ?>"
|
|
title="<?= t('mark as unread') ?>"
|
|
></span>
|
|
<?php endif ?>
|