aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squidGuard/squidguard_acl.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squidGuard/squidguard_acl.xml')
-rw-r--r--packages/squidGuard/squidguard_acl.xml148
1 files changed, 148 insertions, 0 deletions
diff --git a/packages/squidGuard/squidguard_acl.xml b/packages/squidGuard/squidguard_acl.xml
new file mode 100644
index 00000000..cd62fc2f
--- /dev/null
+++ b/packages/squidGuard/squidguard_acl.xml
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packagegui>
+ <include_file>squidguard.inc</include_file>
+ <name>squidguardacl</name>
+ <title>Proxy server filter SquidGuard: Access Control List (ACL)</title>
+ <delete_string>A proxy server user has been deleted.</delete_string>
+ <addedit_string>A proxy server user has been created/modified.</addedit_string>
+ <tabs>
+ <tab>
+ <text>General settings</text>
+ <url>/pkg_edit.php?xml=squidguard.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Default</text>
+ <url>/pkg_edit.php?xml=squidguard_default.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>ACL</text>
+ <url>/pkg.php?xml=squidguard_acl.xml</url>
+ <active/>
+ </tab>
+ <tab>
+ <text>Sources</text>
+ <url>/pkg.php?xml=squidguard_src.xml</url>
+ </tab>
+ <tab>
+ <text>Destinations</text>
+ <url>/pkg.php?xml=squidguard_dest.xml</url>
+ </tab>
+ <tab>
+ <text>Times</text>
+ <url>/pkg.php?xml=squidguard_time.xml</url>
+ </tab>
+ <tab>
+ <text>Rewrites</text>
+ <url>/pkg.php?xml=squidguard_rewr.xml</url>
+ </tab>
+ <tab>
+ <text>Log</text>
+ <url>/pkg_edit.php?xml=squidguard_log.xml</url>
+ </tab>
+ </tabs>
+ <adddeleteeditpagefields>
+ <columnitem>
+ <fieldname>source</fieldname>
+ <fielddescr>Source</fielddescr>
+ </columnitem>
+ <columnitem>
+ <fieldname>dest</fieldname>
+ <fielddescr>Destinations</fielddescr>
+ </columnitem>
+ <columnitem>
+ <fieldname>time</fieldname>
+ <fielddescr>Uptime</fielddescr>
+ </columnitem>
+ <columnitem>
+ <fieldname>redirect</fieldname>
+ <fielddescr>Redirect</fielddescr>
+ </columnitem>
+ <columnitem>
+ <fieldname>rewrite</fieldname>
+ <fielddescr>Rewrite</fielddescr>
+ </columnitem>
+ <columnitem>
+ <fieldname>description</fieldname>
+ <fielddescr>Description</fielddescr>
+ </columnitem>
+ </adddeleteeditpagefields>
+ <fields>
+ <field>
+ <fieldname>disabled</fieldname>
+ <fielddescr>Disabled</fielddescr>
+ <description>Check this for disable this ACL rule.</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fieldname>source</fieldname>
+ <fielddescr>Source name</fielddescr>
+ <description>Select source name here (required). Any ACL must have unique source name.</description>
+ <required/>
+ <type>select</type>
+ </field>
+ <field>
+ <fieldname>time</fieldname>
+ <fielddescr>Time</fielddescr>
+ <type>select</type>
+ <description>Enter time name in current which this rule permitted.</description>
+ </field>
+ <field>
+ <fieldname>dest</fieldname>
+ <fielddescr>Destination</fielddescr>
+ <description></description>
+ <type>input</type>
+ <size>114</size>
+ </field>
+ <field>
+ <fieldname>redirect</fieldname>
+ <fielddescr>Redirect</fielddescr>
+ <description>Enter redirection URL or Error page message for this rule, or leave blank.</description>
+ <type>textarea</type>
+ <cols>70</cols>
+ <rows>5</rows>
+ </field>
+ <field>
+ <fieldname>overredirect</fieldname>
+ <fielddescr>Overtime redirect</fielddescr>
+ <description>Enter redirection URL or Error page message for this rule, or leave blank.</description>
+ <type>textarea</type>
+ <cols>70</cols>
+ <rows>5</rows>
+ </field>
+ <field>
+ <fieldname>rewrite</fieldname>
+ <fielddescr>Rewrite</fielddescr>
+ <type>select</type>
+ <description>Enter rewrite condition name for this rule, or leave blank.</description>
+ </field>
+ <field>
+ <fieldname>overrewrite</fieldname>
+ <fielddescr>Overtime rewrite</fielddescr>
+ <type>select</type>
+ <description>Enter rewrite condition name for this rule, or leave blank.</description>
+ </field>
+ <field>
+ <fieldname>description</fieldname>
+ <fielddescr>Description</fielddescr>
+ <description>You may enter a description here for your reference (not parsed).</description>
+ <type>input</type>
+ <size>114</size>
+ </field>
+ </fields>
+ <custom_php_validation_command>
+ squidguard_validate_acl(&amp;$_POST, &amp;$input_errors);
+ </custom_php_validation_command>
+ <custom_php_command_before_form>
+ squidguard_before_form_acl(&amp;$pkg);
+ </custom_php_command_before_form>
+ <custom_php_after_form_command>
+ squidGuard_print_javascript();
+ </custom_php_after_form_command>
+ <custom_php_resync_config_command>
+// squidguard_resync_time();
+ </custom_php_resync_config_command>
+ <custom_add_php_command>
+ </custom_add_php_command>
+ <custom_add_php_command_late>
+ </custom_add_php_command_late>
+</packagegui>