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_error.php | |
parent | fd3d969cf658475709db6a1e5090069cce51cbbd (diff) |
A lot more stuff
Diffstat (limited to 'src/application/views/alert_error.php')
-rw-r--r-- | src/application/views/alert_error.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/application/views/alert_error.php b/src/application/views/alert_error.php index c18546b..acdb295 100644 --- a/src/application/views/alert_error.php +++ b/src/application/views/alert_error.php @@ -1,3 +1,10 @@ +<?php +if (str_starts_with($message, "?!HTML::")) + $message = substr($message, 8); +else + $message = htmlentities($message); +?> <div class="alert alert-danger" role="alert"> -<?= htmlentities($message); ?> +<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> +<?= $message; ?> </div> |