aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig/squid3/34/squid_antivirus.xml27
1 files changed, 27 insertions, 0 deletions
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
@@ -100,6 +100,24 @@
<type>checkbox</type>
</field>
<field>
+ <fielddescr>Enable Manual Configuration</fielddescr>
+ <fieldname>enable_advanced</fieldname>
+ <description>
+ <![CDATA[
+ When enabled, the options under 'ClamAV Anti-Virus Integration Using C-ICAP' no longer have any effect.<br/>
+ You must edit the configuration files directly in the 'Advanced Options'.<br/>
+ <strong><span class="errmsg">Warning:</span> Only enable this if you know what are you doing.</strong>
+ ]]>
+ </description>
+ <type>select</type>
+ <options>
+ <option><value>disabled</value><name>disabled</name></option>
+ <option><value>enabled</value><name>enabled</name></option>
+ </options>
+ <default_value>disabled</default_value>
+ <onchange>on_antivirus_advanced_config_changed()</onchange>
+ </field>
+ <field>
<fielddescr>Client Forward Options</fielddescr>
<fieldname>client_info</fieldname>
<description>
@@ -238,6 +256,15 @@
<rows>15</rows>
</field>
</fields>
+ <custom_php_after_head_command>
+ squid_print_antivirus_advanced_config();
+ </custom_php_after_head_command>
+ <custom_php_before_form_command>
+ squid_print_antivirus_advanced_config2();
+ </custom_php_before_form_command>
+ <custom_php_after_form_command>
+ squid_print_antivirus_advanced_config2();
+ </custom_php_after_form_command>
<custom_php_validation_command>
squid_validate_antivirus($_POST, $input_errors);
</custom_php_validation_command>