diff options
Diffstat (limited to 'packages/squidGuard/squidguard_time.xml')
-rw-r--r-- | packages/squidGuard/squidguard_time.xml | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/packages/squidGuard/squidguard_time.xml b/packages/squidGuard/squidguard_time.xml new file mode 100644 index 00000000..53ebcd2e --- /dev/null +++ b/packages/squidGuard/squidguard_time.xml @@ -0,0 +1,127 @@ +<?xml version="1.0" encoding="utf-8"?> +<packagegui> + <include_file>squidguard.inc</include_file> + <name>squidguardtime</name> + <title>Proxy server filter SquidGuard: Times</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&id=0</url> + </tab> + <tab> + <text>Default</text> + <url>/pkg_edit.php?xml=squidguard_default.xml&id=0</url> + </tab> + <tab> + <text>ACL</text> + <url>/pkg.php?xml=squidguard_acl.xml</url> + </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> + <active/> + </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>name</fieldname> + <fielddescr>Timename</fielddescr> + </columnitem> + <columnitem> + <fieldname>description</fieldname> + <fielddescr>Description</fielddescr> + </columnitem> + </adddeleteeditpagefields> + <fields> + <field> + <fieldname>name</fieldname> + <fielddescr>Name</fielddescr> + <description>Enter the time name here.</description> + <type>input</type> + <required/> + <size>80</size> + </field> + <field> + <type>rowhelper</type> + <fielddescr>Values</fielddescr> + <rowhelper> + <rowhelperfield> + <fielddescr>Time type</fielddescr> + <fieldname>timetype</fieldname> + <description></description> + <type>select</type> + <value>weekly</value> + <options> + <option><value>weekly</value><name>Weekly</name></option> + <option><value>date</value><name>Date</name></option> + </options> + </rowhelperfield> + <rowhelperfield> + <fielddescr>Days</fielddescr> + <fieldname>timedays</fieldname> + <description></description> + <type>select</type> + <value>*</value> + <options> + <option><value>*</value><name>all</name></option> + <option><value>mon</value><name>mon</name></option> + <option><value>tue</value><name>tue</name></option> + <option><value>wed</value><name>wed</name></option> + <option><value>thu</value><name>thu</name></option> + <option><value>fri</value><name>fri</name></option> + <option><value>sat</value><name>sat</name></option> + <option><value>sun</value><name>sun</name></option> + </options> + </rowhelperfield> + <rowhelperfield> + <type>input</type> + <size>40</size> + <fieldname>daterange</fieldname> + <fielddescr>Date or Date range</fielddescr> + <description>00:00-08:00 15:00-21:00 Format: *.01.01</description> + </rowhelperfield> + <rowhelperfield> + <type>input</type> + <size>20</size> + <fieldname>timerange</fieldname> + <fielddescr>Time range</fielddescr> + <description>00:00-08:00</description> + </rowhelperfield> + </rowhelper> + </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>80</size> + </field> + </fields> + <custom_php_after_form_command> + squidGuard_print_javascript(); + </custom_php_after_form_command> + <custom_php_validation_command> + squidguard_validate_times(&$_POST, &$input_errors); + </custom_php_validation_command> + <custom_php_resync_config_command> +// squidguard_resync_time(); + </custom_php_resync_config_command> +</packagegui> |