From 3e255fb8ae39cb0210a2386610e029d947684b48 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 25 Feb 2023 21:00:51 -0500 Subject: [PATCH] Feature: You can now select/deselect entities for client Data PDF Export Closes #178 --- client_download_pdf_modal.php | 186 ++++++++++++++++++++++++++++++++++ inc_client_top_head.php | 8 +- post.php | 54 ++++++---- 3 files changed, 225 insertions(+), 23 deletions(-) create mode 100644 client_download_pdf_modal.php diff --git a/client_download_pdf_modal.php b/client_download_pdf_modal.php new file mode 100644 index 00000000..e9617f49 --- /dev/null +++ b/client_download_pdf_modal.php @@ -0,0 +1,186 @@ + diff --git a/inc_client_top_head.php b/inc_client_top_head.php index 7688c60a..cd01e7e3 100644 --- a/inc_client_top_head.php +++ b/inc_client_top_head.php @@ -85,11 +85,8 @@ Edit Client - - Export Data PDF
(without passwords) -
- - Export Data PDF
(with passwords) +
+ Export Data @@ -110,6 +107,7 @@ 0){ ?> + 0 && $export_contacts == 1){ ?> { text: 'Contacts', style: 'title' @@ -8361,7 +8379,7 @@ if(isset($_GET['export_client_pdf'])){ //Contact END //Locations Start - 0){ ?> + 0 && $export_locations == 1){ ?> { text: 'Locations', style: 'title' @@ -8420,7 +8438,7 @@ if(isset($_GET['export_client_pdf'])){ //Locations END //Vendors Start - 0){ ?> + 0 && $export_vendors == 1){ ?> { text: 'Vendors', style: 'title' @@ -8497,7 +8515,7 @@ if(isset($_GET['export_client_pdf'])){ //Logins Start - 0){ ?> + 0 && $export_logins == 1){ ?> { text: 'Logins', style: 'title' @@ -8576,7 +8594,7 @@ if(isset($_GET['export_client_pdf'])){ //Logins END //Assets Start - 0){ ?> + 0 && $export_assets == 1){ ?> { text: 'Assets', style: 'assetTitle' @@ -8585,7 +8603,7 @@ if(isset($_GET['export_client_pdf'])){ //Assets END //Asset Workstations Start - 0){ ?> + 0 && $export_assets == 1){ ?> { text: 'Workstations', style: 'assetSubTitle' @@ -8699,7 +8717,7 @@ if(isset($_GET['export_client_pdf'])){ //Asset Workstation END //Assets Servers Start - 0){ ?> + 0 && $export_assets == 1){ ?> { text: 'Servers', style: 'assetSubTitle' @@ -8804,7 +8822,7 @@ if(isset($_GET['export_client_pdf'])){ //Asset Servers END //Asset VMs Start - 0){ ?> + 0 && $export_assets == 1){ ?> { text: 'Virtual Machines', style: 'assetSubTitle' @@ -8877,7 +8895,7 @@ if(isset($_GET['export_client_pdf'])){ //Asset VMs END //Assets Network Devices Start - 0){ ?> + 0 && $export_assets == 1){ ?> { text: 'Network Devices', style: 'assetSubTitle' @@ -8982,7 +9000,7 @@ if(isset($_GET['export_client_pdf'])){ //Asset Network Devices END //Asset Other Start - 0){ ?> + 0 && $export_assets == 1){ ?> { text: 'Other Devices', style: 'assetSubTitle' @@ -9087,7 +9105,7 @@ if(isset($_GET['export_client_pdf'])){ //Asset Other END //Software Start - 0){ ?> + 0 && $export_software == 1){ ?> { text: 'Software', style: 'title' @@ -9152,7 +9170,7 @@ if(isset($_GET['export_client_pdf'])){ //Software END //Networks Start - 0){ ?> + 0 && $export_networks == 1){ ?> { text: 'Networks', style: 'title' @@ -9226,7 +9244,7 @@ if(isset($_GET['export_client_pdf'])){ //Networks END //Domains Start - 0){ ?> + 0 && $export_domains == 1){ ?> { text: 'Domains', style: 'title' @@ -9273,7 +9291,7 @@ if(isset($_GET['export_client_pdf'])){ //Domains END //Certificates Start - 0){ ?> + 0 && $export_certificates == 1){ ?> { text: 'Certificates', style: 'title' @@ -9387,8 +9405,8 @@ if(isset($_GET['export_client_pdf'])){