diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2021-11-13 08:31:57 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2021-11-13 08:31:57 +0000 |
| commit | cc095879dffa0afd4c034d23310a945b07552bff (patch) | |
| tree | 346c380132344f522d0d2aad43bfe3318530db53 | |
| parent | 3ce11b937bd1c16113317a1e9c230c9813d62b4e (diff) | |
Don't show added_at on index page
| -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 d8f751f..605dbff 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'); ?> - <?= 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 + <?= 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 } ?> |
