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