<li class="hide-mobile"> <?php if ($item['bookmark']): ?> <a class="bookmark" href="?action=bookmark&value=0&id=<?= $item['id'] ?>&menu=<?= $menu ?>&offset=<?= $offset ?>&source=<?= $source ?>" 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'] ?>&menu=<?= $menu ?>&offset=<?= $offset ?>&source=<?= $source ?>" data-action="bookmark" data-reverse-label="<?= t('remove bookmark') ?>" ><?= t('bookmark') ?></a> <?php endif ?> </li>