summaryrefslogtreecommitdiff
path: root/src/application/views/alert_error.php
blob: e3b48ba58bbf13b320bcb94ca4a5afbe404fb06a (plain)
1
2
3
4
5
6
7
8
9
10
<?php
if (str_starts_with($message, "?!HTML::"))
    $message = substr($message, 8);
else
    $message = htmlentities($message);
?>
<div class="alert alert-danger" role="alert">
<span class="fa fa-exclamation-circle" aria-hidden="true"></span>
<?= $message; ?>
</div>