summaryrefslogtreecommitdiff
path: root/src/application/views/alert_info.php
diff options
context:
space:
mode:
authorJonas Kohl2024-09-16 19:32:09 +0200
committerJonas Kohl2024-09-16 19:32:09 +0200
commit6b7e714b59e28bc138681662006941274c3261af (patch)
treec683082c0a00681542db02d415bd45968f0a517b /src/application/views/alert_info.php
parentfd3d969cf658475709db6a1e5090069cce51cbbd (diff)
A lot more stuff
Diffstat (limited to 'src/application/views/alert_info.php')
-rw-r--r--src/application/views/alert_info.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/application/views/alert_info.php b/src/application/views/alert_info.php
new file mode 100644
index 0000000..7bf2e7b
--- /dev/null
+++ b/src/application/views/alert_info.php
@@ -0,0 +1,9 @@
+<?php
+if (str_starts_with($message, "?!HTML::"))
+ $message = substr($message, 8);
+else
+ $message = htmlentities($message);
+?>
+<div class="alert alert-info" role="alert">
+<?= $message; ?>
+</div>