summaryrefslogtreecommitdiff
path: root/src/application/views/alert_success.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/application/views/alert_success.php')
-rw-r--r--src/application/views/alert_success.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/application/views/alert_success.php b/src/application/views/alert_success.php
new file mode 100644
index 0000000..de3e023
--- /dev/null
+++ b/src/application/views/alert_success.php
@@ -0,0 +1,9 @@
+<?php
+if (str_starts_with($message, "?!HTML::"))
+ $message = substr($message, 8);
+else
+ $message = htmlentities($message);
+?>
+<div class="alert alert-success" role="alert">
+<?= $message; ?>
+</div>