"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:
parent
2ec5d4ffb0
commit
a596472100
@ -12,9 +12,9 @@
|
|||||||
|
|
||||||
<p class="infos">
|
<p class="infos">
|
||||||
<?php if ($item['bookmark']): ?>
|
<?php if ($item['bookmark']): ?>
|
||||||
<a href="?action=bookmark&value=0&id=<?= $item['id'] ?>&source=show&menu=<?= $menu ?>" title="<?= t('remove bookmark') ?>" class="bookmark-icon">★</a>
|
<a id="bookmark-<?=$item['id'] ?>" href="?action=bookmark&value=0&id=<?= $item['id'] ?>&source=show&menu=<?= $menu ?>" title="<?= t('remove bookmark') ?>" class="bookmark-icon">★</a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<a href="?action=bookmark&value=1&id=<?= $item['id'] ?>&source=show&menu=<?= $menu ?>" title="<?= t('bookmark') ?>" class="bookmark-icon">☆</a>
|
<a id="bookmark-<?=$item['id'] ?>" href="?action=bookmark&value=1&id=<?= $item['id'] ?>&source=show&menu=<?= $menu ?>" title="<?= t('bookmark') ?>" class="bookmark-icon">☆</a>
|
||||||
<?php endif ?> |
|
<?php endif ?> |
|
||||||
|
|
||||||
<a href="?action=feed-items&feed_id=<?= $feed['id'] ?>"><?= Helper\escape($feed['title']) ?></a> |
|
<a href="?action=feed-items&feed_id=<?= $feed['id'] ?>"><?= Helper\escape($feed['title']) ?></a> |
|
||||||
|
Loading…
Reference in New Issue
Block a user