diff options
author | Jonas Kohl | 2024-09-16 19:32:09 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-16 19:32:09 +0200 |
commit | 6b7e714b59e28bc138681662006941274c3261af (patch) | |
tree | c683082c0a00681542db02d415bd45968f0a517b /src/application/views/alert_success.php | |
parent | fd3d969cf658475709db6a1e5090069cce51cbbd (diff) |
A lot more stuff
Diffstat (limited to 'src/application/views/alert_success.php')
-rw-r--r-- | src/application/views/alert_success.php | 9 |
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> |