aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3/34/squid_antivirus.xml
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-10-02 16:39:35 -0300
committerRenato Botelho <renato@netgate.com>2015-10-02 16:39:35 -0300
commitbb4be348cf074430dad2ce77f21f79f7e5cfb939 (patch)
tree60e1b39e2d7f3bffa3bafc45ebce9ce6410a4f39 /config/squid3/34/squid_antivirus.xml
parent22a8681e70bc2218b3f41830bd37edbd47f649cb (diff)
parent0e7826d4a5e0ca9d492c036d16510d777a3b99c9 (diff)
downloadpfsense-packages-bb4be348cf074430dad2ce77f21f79f7e5cfb939.tar.gz
pfsense-packages-bb4be348cf074430dad2ce77f21f79f7e5cfb939.tar.bz2
pfsense-packages-bb4be348cf074430dad2ce77f21f79f7e5cfb939.zip
Merge pull request #1085 from doktornotor/patch-1
Diffstat (limited to 'config/squid3/34/squid_antivirus.xml')
-rwxr-xr-xconfig/squid3/34/squid_antivirus.xml33
1 files changed, 32 insertions, 1 deletions
diff --git a/config/squid3/34/squid_antivirus.xml b/config/squid3/34/squid_antivirus.xml
index a257891d..94c788a0 100755
--- a/config/squid3/34/squid_antivirus.xml
+++ b/config/squid3/34/squid_antivirus.xml
@@ -42,7 +42,7 @@
]]>
</copyright>
<name>squidantivirus</name>
- <version>0.3.7</version>
+ <version>0.3.8</version>
<title>Proxy server: Antivirus</title>
<include_file>/usr/local/pkg/squid.inc</include_file>
<tabs>
@@ -99,6 +99,26 @@
<description>Enable Squid antivirus check using ClamAV.</description>
<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>
@@ -238,6 +258,17 @@
<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>