"f" keyboard shortcut fix

"f" keyboard shortcut for bookmarking an item when viewing the item in the show_item template was not working.  Added the bookmark id to the show_item template.
This commit is contained in:
chrislemonier 2013-09-05 16:36:03 -07:00
parent 2ec5d4ffb0
commit a596472100
1 changed files with 2 additions and 2 deletions

View File

@ -12,9 +12,9 @@
<p class="infos">
<?php if ($item['bookmark']): ?>
<a href="?action=bookmark&amp;value=0&amp;id=<?= $item['id'] ?>&amp;source=show&amp;menu=<?= $menu ?>" title="<?= t('remove bookmark') ?>" class="bookmark-icon"></a>
<a id="bookmark-<?=$item['id'] ?>" href="?action=bookmark&amp;value=0&amp;id=<?= $item['id'] ?>&amp;source=show&amp;menu=<?= $menu ?>" title="<?= t('remove bookmark') ?>" class="bookmark-icon"></a>
<?php else: ?>
<a href="?action=bookmark&amp;value=1&amp;id=<?= $item['id'] ?>&amp;source=show&amp;menu=<?= $menu ?>" title="<?= t('bookmark') ?>" class="bookmark-icon"></a>
<a id="bookmark-<?=$item['id'] ?>" href="?action=bookmark&amp;value=1&amp;id=<?= $item['id'] ?>&amp;source=show&amp;menu=<?= $menu ?>" title="<?= t('bookmark') ?>" class="bookmark-icon"></a>
<?php endif ?> |
<a href="?action=feed-items&amp;feed_id=<?= $feed['id'] ?>"><?= Helper\escape($feed['title']) ?></a> |