summaryrefslogtreecommitdiff
path: root/src/application/views/alert_error.php
blob: acdb295fbffa78a48ae7303ec2e0ad8f4c19da53 (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="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
<?= $message; ?>
</div>