17 lines
709 B
PHP
17 lines
709 B
PHP
<li class="hide-mobile">
|
|
<?php if ($item['bookmark']): ?>
|
|
<a
|
|
class="bookmark"
|
|
href="?action=bookmark&value=0&id=<?= $item['id'] ?>&offset=<?= $offset ?>&redirect=<?= $menu ?>&feed_id=<?= $item['feed_id'] ?>"
|
|
data-action="bookmark"
|
|
data-reverse-label="<?= t('bookmark') ?>"
|
|
><?= t('remove bookmark') ?></a>
|
|
<?php else: ?>
|
|
<a
|
|
class="bookmark"
|
|
href="?action=bookmark&value=1&id=<?= $item['id'] ?>&offset=<?= $offset ?>&redirect=<?= $menu ?>&feed_id=<?= $item['feed_id'] ?>"
|
|
data-action="bookmark"
|
|
data-reverse-label="<?= t('remove bookmark') ?>"
|
|
><?= t('bookmark') ?></a>
|
|
<?php endif ?>
|
|
</li>
|