mirror of
https://github.com/itflow-org/itflow
synced 2026-09-14 02:35:12 +00:00
Migrated confirm modal to sweetalert2 lib
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
</p>
|
||||
|
||||
|
||||
<?php require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/inc_confirm_modal.php'; ?>
|
||||
|
||||
<!-- jQuery -->
|
||||
|
||||
@@ -66,6 +65,7 @@
|
||||
|
||||
<script src="/js/pretty_content.js"></script>
|
||||
|
||||
<script src="/libs/sweetalert2/js/sweetalert2.min.js"></script>
|
||||
<script src="/js/confirm_modal.js"></script>
|
||||
|
||||
<script src="/js/keepalive.js"></script>
|
||||
|
||||
@@ -28,6 +28,7 @@ header("X-Frame-Options: DENY"); // Legacy
|
||||
|
||||
<!-- Theme style -->
|
||||
<link rel="stylesheet" href="/libs/adminlte/css/adminlte.min.css">
|
||||
<link rel="stylesheet" href="/libs/sweetalert2/css/sweetalert2.min.css">
|
||||
|
||||
</head>
|
||||
|
||||
@@ -155,7 +156,7 @@ header("X-Frame-Options: DENY"); // Legacy
|
||||
}
|
||||
?>
|
||||
<div class="alert alert-<?= $_SESSION['alert_type'] ?>" id="alert">
|
||||
<?= escapeHtml($_SESSION['alert_message']) ?>
|
||||
<?= alertMessageHtml($_SESSION['alert_message']) ?>
|
||||
<button class='close' data-bs-dismiss='alert'>×</button>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user