blob: 7f6821746917f837174f2e8c14f138e1c6f23808 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?>
<packagegui>
<description><![CDATA[Describe your package here]]></description>
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>squidguardtime</name>
<version>none</version>
<title>Proxy filter SquidGuard: Times</title>
<include_file>/usr/local/pkg/squidguard.inc</include_file>
<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>Common ACL</text>
<url>/pkg_edit.php?xml=squidguard_default.xml&id=0</url>
</tab>
<tab>
<text>Groups ACL</text>
<url>/pkg.php?xml=squidguard_acl.xml</url>
</tab>
<tab>
<text>Target categories</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>Blacklist</text>
<url>/squidGuard/squidguard_blacklist.php</url>
</tab>
<tab>
<text>Log</text>
<url>/squidGuard/squidguard_log.php</url>
</tab>
<tab>
<text>XMLRPC Sync</text>
<url>/pkg_edit.php?xml=squidguard_sync.xml</url>
</tab>
</tabs>
<adddeleteeditpagefields>
<columnitem>
<fielddescr>Name</fielddescr>
<fieldname>name</fieldname>
</columnitem>
<columnitem>
<fielddescr>Description</fielddescr>
<fieldname>description</fieldname>
</columnitem>
</adddeleteeditpagefields>
<fields>
<field>
<fielddescr>Name</fielddescr>
<fieldname>name</fieldname>
<description><![CDATA[
Enter a unique name of this rule here.<br>
The name must consist between 2 and 15 symbols [a-Z_0-9]. The first one must be a letter.<br>
]]></description>
<type>input</type>
<required/>
<size>100</size>
</field>
<field>
<fielddescr>Values</fielddescr>
<type>rowhelper</type>
<rowhelper>
<rowhelperfield>
<fielddescr>Time type</fielddescr>
<fieldname>timetype</fieldname>
<description><![CDATA[]]></description>
<type>select</type>
<value>weekly</value>
<options>
<option><name>Weekly</name><value>weekly</value></option>
<option><name>Date</name><value>date</value></option>
</options>
</rowhelperfield>
<rowhelperfield>
<fielddescr>Days</fielddescr>
<fieldname>timedays</fieldname>
<description><![CDATA[]]></description>
<type>select</type>
<value>*</value>
<options>
<option><name>all</name><value>*</value></option>
<option><name>mon</name><value>mon</value></option>
<option><name>tue</name><value>tue</value></option>
<option><name>wed</name><value>wed</value></option>
<option><name>thu</name><value>thu</value></option>
<option><name>fri</name><value>fri</value></option>
<option><name>sat</name><value>sat</value></option>
<option><name>sun</name><value>sun</value></option>
</options>
</rowhelperfield>
<rowhelperfield>
<fielddescr>Date or Date range</fielddescr>
<fieldname>daterange</fieldname>
<type>input</type>
<size>40</size>
</rowhelperfield>
<rowhelperfield>
<fielddescr>Time range</fielddescr>
<fieldname>sg_timerange</fieldname>
<description><![CDATA[00:00-08:00]]></description>
<type>input</type>
<size>20</size>
<value>00:00-23:59</value>
</rowhelperfield>
</rowhelper>
</field>
<field>
<fielddescr>Description</fielddescr>
<fieldname>description</fieldname>
<description><![CDATA[You may enter any description here for your reference.<br>
<b>Note:</b><br>
<b>Example for Date or Date Range:</b> 2007.12.31 <b>or</b> 2007.11.31-2007.12.31 <b>or</b> *.12.31 <b>or</b> 2007.*.31<br>
<b>Example for Time Range:</b> 08:00-18:00
]]></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>
|