Update badge classes to bg

This commit is contained in:
johnnyq
2026-08-15 13:00:41 -04:00
parent 73e10e72f2
commit 2375e69f2d
25 changed files with 80 additions and 44 deletions

View File

@@ -157,9 +157,9 @@ header("X-Frame-Options: DENY"); // Legacy
$_SESSION['alert_type'] = "info";
}
?>
<div class="alert alert-<?= $_SESSION['alert_type'] ?>" id="alert">
<div class="alert alert-<?= alertStyleClass($_SESSION['alert_type'] ?? 'success') ?> alert-dismissible" id="alert">
<?= alertMessageHtml($_SESSION['alert_message']) ?>
<button class='close' data-bs-dismiss='alert'>&times;</button>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
<?php