summaryrefslogtreecommitdiff
path: root/src/templates/index.php
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2021-10-18 21:15:18 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2021-10-18 21:15:18 +0100
commit1a112ab14becaf6d41cd34c176cbe563d4ca9742 (patch)
treeaad7dd85d9a7d3d4465a6ef506a0259b46ed6ee7 /src/templates/index.php
parentcbaedbc5251f3b127bd81242d1344c0cd3e56e0c (diff)
Implement session management
Diffstat (limited to 'src/templates/index.php')
-rw-r--r--src/templates/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/templates/index.php b/src/templates/index.php
index ed84fd4..148a173 100644
--- a/src/templates/index.php
+++ b/src/templates/index.php
@@ -6,6 +6,9 @@
<title>Bookmarks</title>
</head>
<body>
+ <?php if ($message) { ?>
+ <p><?php echo $message; ?></p>
+ <?php } ?>
<a href="/create">Add</a>
<ul>
<?php foreach ($bookmarks as $bookmark) { ?>