From 2467274f7b6c3948d2786ea12b9a285171d00833 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Mon, 17 Feb 2025 19:29:31 -0500 Subject: [PATCH] Ported users, roles, categories, tags edit to new AJAX modal function --- admin_category.php | 22 +-- admin_role.php | 11 +- admin_tag.php | 15 +- admin_user.php | 23 +-- ajax/ajax_category_edit.php | 56 ++++++++ ajax/ajax_role_edit.php | 153 ++++++++++++++++++++ ajax/ajax_tag_edit.php | 82 +++++++++++ ajax/ajax_user_edit.php | 201 +++++++++++++++++++++++++++ modals/admin_category_edit_modal.php | 43 ------ modals/admin_role_edit_modal.php | 119 ---------------- modals/admin_tag_edit_modal.php | 68 --------- modals/admin_user_edit_modal.php | 177 ----------------------- 12 files changed, 532 insertions(+), 438 deletions(-) create mode 100644 ajax/ajax_category_edit.php create mode 100644 ajax/ajax_role_edit.php create mode 100644 ajax/ajax_tag_edit.php create mode 100644 ajax/ajax_user_edit.php delete mode 100644 modals/admin_category_edit_modal.php delete mode 100644 modals/admin_role_edit_modal.php delete mode 100644 modals/admin_tag_edit_modal.php delete mode 100644 modals/admin_user_edit_modal.php diff --git a/admin_category.php b/admin_category.php index d5de8015..d27228f5 100644 --- a/admin_category.php +++ b/admin_category.php @@ -33,7 +33,6 @@ if (isset($_GET['archived'])) { ?> -

@@ -134,10 +133,15 @@ if (isset($_GET['archived'])) { ?> - + + - + +