🐛 Require correct file in actions pages

Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit is contained in:
2020-08-09 17:30:20 +01:00
parent 9e25c836bb
commit e5fa2c986e
6 changed files with 49 additions and 24 deletions

View File

@@ -13,6 +13,24 @@
<!-- Begin page content -->
<main role="main" class="flex-shrink-0">
<section>
<?php
if(isset($alert)) {
echo("
<div class='container'>
<div class='alert alert-" . $alert[0] . " alert-dismissible fade show' role='alert'>
" . $alert[1] . "
<button type='button' class='close' data-dismiss='alert' aria-label='Close'>
<span aria-hidden='true'>&times;</span>
</button>
</div>
</div>
");
unset($new_ticket_alert);
}
?>
</section>
<?php if (!is_signed_in()) { ?>
<section>
<div class="container">