diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2021-11-10 22:40:45 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2021-11-10 22:40:45 +0000 |
| commit | 0cc439f49486865dfbcf8ff324d5bf53788d8b5d (patch) | |
| tree | 2cfc36770aae353fe1bbcba6fe70f003e9e50b51 /src | |
| parent | ce55f527666e6726c811464ef341cb67742f7137 (diff) | |
Add missing forward slashes
Diffstat (limited to 'src')
| -rw-r--r-- | src/templates/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates/index.php b/src/templates/index.php index 27f62b7..35dd7ad 100644 --- a/src/templates/index.php +++ b/src/templates/index.php @@ -26,7 +26,7 @@ <?php foreach ($bookmarks as $bookmark) { ?> <li> <a href="<?= htmlentities($bookmark->url); ?>"> - <?= (new DateTime($bookmark->addedAt))->format('Y-m-d'); ?> - <?= $bookmark->title != '' ? htmlentities($bookmark->title) : htmlentities($bookmark->url); ?></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 + <?= (new DateTime($bookmark->addedAt))->format('Y-m-d'); ?> - <?= $bookmark->title != '' ? htmlentities($bookmark->title) : htmlentities($bookmark->url); ?></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 } ?> |
