summaryrefslogtreecommitdiff
path: root/src/application/views/alert_error.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/application/views/alert_error.php')
-rw-r--r--src/application/views/alert_error.php9
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>