From 53c11edc8c12f4a178d7e4884f017c9e6681945a Mon Sep 17 00:00:00 2001 From: o-psi Date: Fri, 20 Oct 2023 15:25:52 -0500 Subject: [PATCH] Update constructs to not have parenthesis. --- accounts.php | 10 +- ajax.php | 12 ++- api/v1/assets/create.php | 12 ++- api/v1/assets/delete.php | 9 +- api/v1/assets/read.php | 8 +- api/v1/assets/update.php | 12 ++- api/v1/certificates/read.php | 9 +- api/v1/clients/read.php | 9 +- api/v1/contacts/create.php | 12 ++- api/v1/contacts/delete.php | 9 +- api/v1/contacts/read.php | 9 +- api/v1/contacts/update.php | 12 ++- api/v1/documents/read.php | 9 +- api/v1/domains/read.php | 9 +- api/v1/expenses/read.php | 9 +- api/v1/invoices/read.php | 9 +- api/v1/networks/read.php | 9 +- api/v1/payments/read.php | 9 +- api/v1/products/read.php | 9 +- api/v1/quotes/read.php | 9 +- api/v1/software/read.php | 9 +- api/v1/tickets/create.php | 15 ++- api/v1/tickets/read.php | 9 +- blank.php | 6 +- budget.php | 15 ++- calendar_events.php | 18 ++-- categories.php | 14 ++- check_login.php | 3 +- client_asset_details.php | 15 ++- client_asset_export_modal.php | 3 +- client_assets.php | 30 ++++-- client_certificate_export_modal.php | 3 +- client_certificates.php | 18 ++-- client_contact_details.php | 24 +++-- client_contact_export_modal.php | 3 +- client_contacts.php | 24 +++-- client_document_details.php | 30 ++++-- client_documents.php | 30 ++++-- client_domain_export_modal.php | 3 +- client_domains.php | 18 ++-- client_events.php | 15 ++- client_export_modal.php | 3 +- client_files.php | 33 ++++-- client_invoice_export_modal.php | 3 +- client_invoices.php | 21 ++-- client_leads.php | 21 ++-- client_location_export_modal.php | 3 +- client_locations.php | 21 ++-- client_login_export_modal.php | 3 +- client_logins.php | 24 +++-- client_logs.php | 9 +- client_network_export_modal.php | 3 +- client_networks.php | 18 ++-- client_overview.php | 6 +- client_payment_export_modal.php | 3 +- client_payments.php | 12 ++- client_quote_export_modal.php | 3 +- client_quotes.php | 21 ++-- client_recurring_export_modal.php | 3 +- client_recurring_invoices.php | 18 ++-- client_scheduled_tickets.php | 15 ++- client_services.php | 18 ++-- client_shared_items.php | 9 +- client_software.php | 21 ++-- client_software_export_modal.php | 3 +- client_ticket_export_modal.php | 3 +- client_tickets.php | 27 +++-- client_trip_export_modal.php | 3 +- client_trips.php | 21 ++-- client_vendor_export_modal.php | 3 +- client_vendors.php | 21 ++-- clients.php | 21 ++-- cron.php | 6 +- cron_certificate_refresher.php | 6 +- cron_domain_refresher.php | 6 +- cron_mail_queue.php | 9 +- cron_ticket_email_parser.php | 36 ++++--- dashboard_financial.php | 6 +- dashboard_technical.php | 6 +- document_template_details.php | 12 ++- expense_export_modal.php | 3 +- expenses.php | 27 +++-- footer.php | 3 +- force_mfa.php | 18 ++-- functions.php | 12 ++- get_credential.php | 6 +- get_settings.php | 3 +- global_search.php | 6 +- guest_ajax.php | 9 +- guest_download_file.php | 6 +- guest_header.php | 6 +- guest_pay_invoice_stripe.php | 15 ++- guest_post.php | 6 +- guest_view_invoice.php | 12 ++- guest_view_item.php | 27 +++-- guest_view_quote.php | 12 ++- inc_all.php | 26 +++-- inc_all_client.php | 33 ++++-- inc_all_reports.php | 24 +++-- inc_all_settings.php | 27 +++-- inc_client_top_head.php | 12 ++- index.php | 6 +- invoice.php | 30 ++++-- invoices.php | 21 ++-- login.php | 9 +- logs.php | 9 +- notifications.php | 6 +- notifications_dismissed.php | 9 +- payments.php | 9 +- plugins/daterangepicker/daterangepicker.js | 6 +- plugins/select2/js/select2.full.min.js | 3 +- plugins/select2/js/select2.min.js | 3 +- portal/document.php | 9 +- portal/documents.php | 6 +- portal/inc_portal.php | 14 ++- portal/index.php | 6 +- portal/invoices.php | 6 +- portal/login.php | 6 +- portal/login_microsoft.php | 6 +- portal/login_reset.php | 9 +- portal/portal_post.php | 3 +- portal/profile.php | 6 +- portal/quotes.php | 6 +- portal/ticket.php | 9 +- portal/ticket_add.php | 6 +- portal/ticket_view_all.php | 6 +- portal/tickets.php | 6 +- post.php | 114 ++++++++++++++------- post/category.php | 6 +- post/client.php | 6 +- post/contact.php | 6 +- post/custom_field.php | 6 +- post/event.php | 6 +- post/expense.php | 6 +- post/invoice.php | 6 +- post/location.php | 6 +- post/login.php | 6 +- post/product.php | 6 +- post/profile.php | 3 +- post/quote.php | 6 +- post/scheduled_ticket_model.php | 3 +- post/setting.php | 3 +- post/tag.php | 6 +- post/ticket.php | 6 +- post/transfer.php | 6 +- post/trip.php | 6 +- post/user.php | 6 +- post/vendor.php | 12 ++- products.php | 18 ++-- quote.php | 27 +++-- quotes.php | 21 ++-- recurring_expenses.php | 15 ++- recurring_invoice.php | 18 ++-- recurring_invoices.php | 18 ++-- report_all_assets_by_client.php | 6 +- report_balance_sheet.php | 6 +- report_budget.php | 6 +- report_clients_with_balance.php | 6 +- report_expense_by_vendor.php | 6 +- report_expense_summary.php | 6 +- report_income_by_client.php | 6 +- report_income_summary.php | 6 +- report_password_rotation.php | 6 +- report_profit_loss.php | 6 +- report_recurring_by_client.php | 6 +- report_tax_summary.php | 6 +- report_ticket_by_client.php | 6 +- report_ticket_summary.php | 6 +- revenues.php | 18 ++-- scheduled_tickets.php | 15 ++- settings_account_types.php | 12 ++- settings_alerts.php | 6 +- settings_api.php | 12 ++- settings_backup.php | 6 +- settings_company.php | 6 +- settings_custom_fields.php | 15 ++- settings_debug.php | 12 ++- settings_defaults.php | 6 +- settings_document_templates.php | 15 ++- settings_integrations.php | 6 +- settings_invoice.php | 6 +- settings_localization.php | 6 +- settings_mail.php | 6 +- settings_mail_queue.php | 12 ++- settings_maintenance.php | 12 ++- settings_modules.php | 6 +- settings_online_payment.php | 6 +- settings_quote.php | 6 +- settings_security.php | 6 +- settings_software_templates.php | 15 ++- settings_tags.php | 15 ++- settings_taxes.php | 12 ++- settings_telemetry.php | 6 +- settings_theme.php | 6 +- settings_ticket.php | 6 +- settings_update.php | 12 ++- settings_vendor_templates.php | 15 ++- setup.php | 18 ++-- test_cron.php | 6 +- ticket.php | 42 +++++--- tickets.php | 24 +++-- transfers.php | 15 ++- trip_export_modal.php | 3 +- trips.php | 21 ++-- user_export_modal.php | 3 +- user_profile.php | 9 +- users.php | 27 +++-- vendor/setasign/fpdi/README.md | 6 +- vendors.php | 15 ++- 209 files changed, 1591 insertions(+), 800 deletions(-) diff --git a/accounts.php b/accounts.php index 79edd340..14848809 100644 --- a/accounts.php +++ b/accounts.php @@ -4,7 +4,7 @@ $sort = "account_name"; $order = "ASC"; -require_once("inc_all.php"); +require_once "inc_all.php"; //Rebuild URL $url_query_strings_sort = http_build_query($get_copy); @@ -105,18 +105,18 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); - + +