diff options
| -rw-r--r-- | src/templates/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/templates/index.php b/src/templates/index.php index 605dbff..f24f14a 100644 --- a/src/templates/index.php +++ b/src/templates/index.php @@ -26,8 +26,8 @@ <?php foreach ($bookmarks as $bookmark) { ?> <li> <a href="<?= htmlentities($bookmark->url); ?>"> - <?= htmlentities($bookmark->title); ?></a> | <?php if ($bookmark->tag) { ?><a class="no-decoration tag" href="/?tag=<?= htmlentities($bookmark->tag); ?>"><?= htmlentities($bookmark->tag); ?></a> | <?php } ?><a class="no-decoration" href="/edit/?id=<?= $bookmark->id; ?>">Edit</a> | <a class="no-decoration" href="/delete/confirm/?id=<?= $bookmark->id; ?>">Delete - </a> + <?= htmlentities($bookmark->title); ?> + </a> | <?php if ($bookmark->tag) { ?><a class="no-decoration tag" href="/?tag=<?= htmlentities($bookmark->tag); ?>"><?= htmlentities($bookmark->tag); ?></a> | <?php } ?><a class="no-decoration" href="/edit/?id=<?= $bookmark->id; ?>">Edit</a> | <a class="no-decoration" href="/delete/confirm/?id=<?= $bookmark->id; ?>">Delete</a> </li> <?php } ?> </ol> |
