id/views/partials/error.php

14 lines
286 B
PHP
Raw Permalink Normal View History

2024-06-28 21:41:35 +00:00
<?php
$error_body = $error_body ?? "No message provided.";
?>
<div class="errorbox">
<div class="icon">
<span class="fa-solid fa-fw fa-circle-xmark"></span>
</div>
2024-07-01 21:15:51 +00:00
<h2><?= get_string("generic.error") ?></h2>
2024-06-28 21:41:35 +00:00
<p><?= htmlspecialchars($error_body) ?></p>
</div>