18 lines
707 B
PHP
18 lines
707 B
PHP
<?php if ($item['bookmark']): ?>
|
|
<span
|
|
class="bookmark-icon"
|
|
href="?action=bookmark&value=0&id=<?= $item['id'] ?>&menu=<?= $menu ?>&offset=<?= $offset ?>&source=<?= $source ?>"
|
|
data-action="bookmark"
|
|
data-reverse-title="<?= t('bookmark') ?>"
|
|
title="<?= t('remove bookmark') ?>"
|
|
></span>
|
|
<?php else: ?>
|
|
<span
|
|
class="bookmark-icon"
|
|
href="?action=bookmark&value=1&id=<?= $item['id'] ?>&menu=<?= $menu ?>&offset=<?= $offset ?>&source=<?= $source ?>"
|
|
data-action="bookmark"
|
|
data-reverse-title="<?= t('remove bookmark') ?>"
|
|
title="<?= t('bookmark') ?>"
|
|
></span>
|
|
<?php endif ?>
|