From 6310ef5aae27f847393193b1d1b0405274516fde Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 27 Apr 2022 22:31:15 -0400 Subject: [PATCH] Added Rename and Delete folder capabilities to documents and some minor UI cleanup --- client_document_folder_rename_modal.php | 32 +++++++++++++++++ client_documents.php | 48 +++++++++++++++++-------- post.php | 2 +- 3 files changed, 67 insertions(+), 15 deletions(-) create mode 100644 client_document_folder_rename_modal.php diff --git a/client_document_folder_rename_modal.php b/client_document_folder_rename_modal.php new file mode 100644 index 00000000..cd2a63e3 --- /dev/null +++ b/client_document_folder_rename_modal.php @@ -0,0 +1,32 @@ + diff --git a/client_documents.php b/client_documents.php index 767dc9cc..090f4bda 100644 --- a/client_documents.php +++ b/client_documents.php @@ -72,22 +72,42 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); $num_documents = $row['num']; ?> - + @@ -110,7 +130,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
- +
">
diff --git a/post.php b/post.php index fab2d4c6..8e4c9ebc 100644 --- a/post.php +++ b/post.php @@ -7010,7 +7010,7 @@ if(isset($_POST['add_folder'])){ } -if(isset($_POST['edit_folder'])){ +if(isset($_POST['rename_folder'])){ if($session_user_role == 1){ $_SESSION['alert_type'] = "danger";