From 3a44ec003327d054620bd151006e742864080940 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 1 Oct 2015 13:43:02 +0200 Subject: Antivirus GUI behaviour sanitization - first part Add manual configuration toggle. When disabled, the 'Advanced Options" only show the AV/C-ICAP config file but do not allow editing, and vice versa. --- config/squid3/34/squid_antivirus.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'config') diff --git a/config/squid3/34/squid_antivirus.xml b/config/squid3/34/squid_antivirus.xml index a257891d..647ffe35 100755 --- a/config/squid3/34/squid_antivirus.xml +++ b/config/squid3/34/squid_antivirus.xml @@ -99,6 +99,24 @@ Enable Squid antivirus check using ClamAV. checkbox + + Enable Manual Configuration + enable_advanced + + + You must edit the configuration files directly in the 'Advanced Options'.
+ Warning: Only enable this if you know what are you doing. + ]]> +
+ select + + + + + disabled + on_antivirus_advanced_config_changed() +
Client Forward Options client_info @@ -238,6 +256,15 @@ 15 + + squid_print_antivirus_advanced_config(); + + + squid_print_antivirus_advanced_config2(); + + + squid_print_antivirus_advanced_config2(); + squid_validate_antivirus($_POST, $input_errors); -- cgit v1.2.3