Remove function code for old way ajax-modal, moved modals over to modal_header/footer and removed _new

This commit is contained in:
johnnyq
2025-08-25 00:07:51 -04:00
parent 41f957ea3b
commit 451206525e
92 changed files with 180 additions and 260 deletions

View File

@@ -1,5 +1,5 @@
<script src="../../js/app.js"></script>
<script src="../../plugins/Show-Hide-Passwords-Bootstrap-4/bootstrap-show-password.min.js"></script>
<script src="../../../js/app.js"></script>
<script src="../../../plugins/Show-Hide-Passwords-Bootstrap-4/bootstrap-show-password.min.js"></script>
<?php
$content = ob_get_clean();

View File

@@ -1,10 +0,0 @@
<script src="../../../js/app.js"></script>
<script src="../../../plugins/Show-Hide-Passwords-Bootstrap-4/bootstrap-show-password.min.js"></script>
<?php
$content = ob_get_clean();
// Return the title and content as a JSON response
echo json_encode(['content' => $content]);
exit();
?>

View File

@@ -1,8 +1,8 @@
<?php
require_once "../../config.php";
require_once "../../functions.php";
require_once "../../includes/check_login.php";
require_once "../../../config.php";
require_once "../../../functions.php";
require_once "../../../includes/check_login.php";
header('Content-Type: application/json');

View File

@@ -1,13 +0,0 @@
<?php
require_once "../../../config.php";
require_once "../../../functions.php";
require_once "../../../includes/check_login.php";
header('Content-Type: application/json');
// Check for the 'id' parameter
//if (!isset($_GET['id'])) {
// echo json_encode(['error' => 'ID missing.']);
// exit;
//}