From fc00b5e78f4b6ca253e38aece75817b7bf8613c3 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 20 Feb 2025 16:25:07 -0500 Subject: [PATCH] Added Location to Global View, updated links and fixed password pop over moving you to the top of the page when clicked in asset and conact details --- asset_details.php | 5 +- contact_details.php | 25 +++++----- credentials.php | 3 +- includes/client_overview_side_nav.php | 6 +++ includes/client_side_nav.php | 2 +- client_locations.php => locations.php | 46 ++++++++++++++----- ...modal.php => contact_link_asset_modal.php} | 0 ....php => contact_link_credential_modal.php} | 0 ...al.php => contact_link_document_modal.php} | 0 ..._modal.php => contact_link_file_modal.php} | 0 ...dal.php => contact_link_service_modal.php} | 0 ...al.php => contact_link_software_modal.php} | 0 ...n_add_modal.php => location_add_modal.php} | 31 ++++++++++++- ...hp => location_bulk_assign_tags_modal.php} | 0 ...rt_modal.php => location_export_modal.php} | 4 +- ...rt_modal.php => location_import_modal.php} | 6 ++- post/user/location.php | 34 ++++++-------- 17 files changed, 106 insertions(+), 56 deletions(-) rename client_locations.php => locations.php (89%) rename modals/{client_contact_link_asset_modal.php => contact_link_asset_modal.php} (100%) rename modals/{client_contact_link_credential_modal.php => contact_link_credential_modal.php} (100%) rename modals/{client_contact_link_document_modal.php => contact_link_document_modal.php} (100%) rename modals/{client_contact_link_file_modal.php => contact_link_file_modal.php} (100%) rename modals/{client_contact_link_service_modal.php => contact_link_service_modal.php} (100%) rename modals/{client_contact_link_software_modal.php => contact_link_software_modal.php} (100%) rename modals/{client_location_add_modal.php => location_add_modal.php} (87%) rename modals/{client_location_bulk_assign_tags_modal.php => location_bulk_assign_tags_modal.php} (100%) rename modals/{client_location_export_modal.php => location_export_modal.php} (79%) rename modals/{client_location_import_modal.php => location_import_modal.php} (80%) diff --git a/asset_details.php b/asset_details.php index 8c09d235..cb020ec9 100644 --- a/asset_details.php +++ b/asset_details.php @@ -592,7 +592,7 @@ if (isset($_GET['asset_id'])) { - + @@ -1080,9 +1080,8 @@ if (isset($_GET['asset_id'])) { }); - - + - - + + +
@@ -544,7 +541,7 @@ if (isset($_GET['contact_id'])) { - + @@ -1173,17 +1170,17 @@ if (isset($_GET['contact_id'])) { - + $login_tag_name"; + $login_tag_name_display_array[] = "$login_tag_name"; } $login_tags_display = implode('', $login_tag_name_display_array); @@ -457,6 +457,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); + diff --git a/includes/client_overview_side_nav.php b/includes/client_overview_side_nav.php index 952831a0..eb721e0c 100644 --- a/includes/client_overview_side_nav.php +++ b/includes/client_overview_side_nav.php @@ -22,6 +22,12 @@

ALL Contacts

+