aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squidGuard/squidguard_default.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squidGuard/squidguard_default.xml')
-rw-r--r--packages/squidGuard/squidguard_default.xml31
1 files changed, 19 insertions, 12 deletions
diff --git a/packages/squidGuard/squidguard_default.xml b/packages/squidGuard/squidguard_default.xml
index 2318f95b..122206ab 100644
--- a/packages/squidGuard/squidguard_default.xml
+++ b/packages/squidGuard/squidguard_default.xml
@@ -2,15 +2,15 @@
<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?>
<packagegui>
- <description>Describe your package here</description>
- <requirements>Describe your package requirements here</requirements>
- <faq>Currently there are no FAQ items provided.</faq>
+ <description>Describe your package here</description>
+ <requirements>Describe your package requirements here</requirements>
+ <faq>Currently there are no FAQ items provided.</faq>
<name>squidguarddefault</name>
<version>none</version>
- <title>Proxy server filter SquidGuard: Default</title>
- <include_file>squidguard.inc</include_file>
-
+ <title>Proxy Content filter SquidGuard: Default</title>
+ <include_file>/usr/local/pkg/squidguard.inc</include_file>
+
<tabs>
<tab>
<text>General settings</text>
@@ -46,12 +46,13 @@
<url>/pkg_edit.php?xml=squidguard_log.xml</url>
</tab>
</tabs>
+
<fields>
<field>
<fielddescr>Default Time</fielddescr>
<fieldname>time</fieldname>
- <type>select</type>
<description>Enter time name in current which this rule permitted.</description>
+ <type>select</type>
</field>
<field>
<fielddescr>Default destination</fielddescr>
@@ -63,7 +64,10 @@
<field>
<fielddescr>Default Redirect</fielddescr>
<fieldname>redirect</fieldname>
- <description>Enter redirection URL or Error page message for this rule, or leave blank.</description>
+ <description>
+ Enter redirection URL or Error page code for this rule, or leave blank.
+ Supported error page codes: 403, 404, 410.
+ </description>
<type>textarea</type>
<cols>70</cols>
<rows>5</rows>
@@ -71,7 +75,10 @@
<field>
<fielddescr>Default overtime redirect</fielddescr>
<fieldname>overredirect</fieldname>
- <description>Enter redirection URL or Error page message for this rule, or leave blank.</description>
+ <description>
+ Enter redirection URL or Error page code for this rule, or leave blank.
+ Supported error page codes: 403, 404, 410.
+ </description>
<type>textarea</type>
<cols>70</cols>
<rows>5</rows>
@@ -95,6 +102,7 @@
<type>checkbox</type>
</field>
</fields>
+
<custom_php_validation_command>
squidguard_validate_acl(&amp;$_POST, &amp;$input_errors);
</custom_php_validation_command>
@@ -102,10 +110,9 @@
squidguard_before_form_acl(&amp;$pkg);
</custom_php_command_before_form>
<custom_php_after_form_command>
- squidGuard_print_javascript();
+ squidGuard_print_javascript();
</custom_php_after_form_command>
- <custom_add_php_command> </custom_add_php_command>
-
+ <custom_add_php_command/>
<custom_php_resync_config_command>
// squidguard_resync();
</custom_php_resync_config_command>