1 <h2>
2 <input type="checkbox" id="proxy" name="proxy" value="B" {$proxyState} {$proxyAccountACL}
3 onClick="
5 {if $gosaProxyFlagF_W}
6 changeState('filterF');
7 {/if}
9 {if $gosaProxyFlagT_W}
10 changeState('filterT');
11 changeTripleSelectState('proxy', 'filterT', 'startHour');
12 changeTripleSelectState('proxy', 'filterT', 'startMinute');
13 changeTripleSelectState('proxy', 'filterT', 'stopMinute');
14 changeTripleSelectState('proxy', 'filterT', 'stopHour');
15 {/if}
16 {if $gosaProxyFlagB_W}
17 changeState('filterB');
18 changeTripleSelectState('proxy', 'filterB', 'quota_unit');
19 changeTripleSelectState('proxy', 'filterB', 'quota_size');
20 changeTripleSelectState('proxy', 'filterB', 'gosaProxyQuotaPeriod');
21 {/if}
22 ">
23 {t}Proxy account{/t}</h2>
25 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
26 <tr>
27 <td>
28 <table summary="" border=0 width="100%" cellpadding=0>
29 <tr><td colspan=2>
31 {render acl=$gosaProxyFlagFACL}
32 <input type="checkbox" name="filterF" id="filterF" value="F" {$filterF} {$pstate}>
33 {/render}
34 {t}Filter unwanted content (i.e. pornographic or violence related){/t}
35 </td></tr>
36 <tr>
37 <td width="50%">
39 {render acl=$gosaProxyFlagTACL}
40 <input type="checkbox" name="filterT" id="filterT" value="T" {$filterT} {$pstate} onClick="javascript:
41 {$ProxyWorkingStateChange}">
42 {/render}
44 <LABEL for="startHour">{t}Limit proxy access to working time{/t}</LABEL>
45 <br>
46 <table summary="" style="margin-left:20px;">
47 <tr>
48 <td>
50 {render acl=$gosaProxyFlagTACL}
51 <select size="1" id="startHour" name="startHour" {if $Tstate!=""} disabled {/if} {$pstate}>
52 {html_options values=$hours output=$hours selected=$starthour}
53 </select>
54 {/render}
55 :
56 {render acl=$gosaProxyFlagTACL}
57 <select size="1" id="startMinute" name="startMinute" {if $Tstate!=""} disabled {/if} {$pstate}>
58 {html_options values=$minutes output=$minutes selected=$startminute}
59 </select>
60 {/render}
61 -
62 {render acl=$gosaProxyFlagTACL}
63 <select size="1" id="stopHour" name="stopHour" {if $Tstate!=""}disabled {/if} {$pstate}>
64 {html_options values=$hours output=$hours selected=$stophour}
65 </select>
66 {/render}
67 :
68 {render acl=$gosaProxyFlagTACL}
69 <select size="1" id="stopMinute" name="stopMinute" {if $Tstate!=""} disabled {/if} {$pstate} >
70 {html_options values=$minutes output=$minutes selected=$stopminute}
71 </select>
72 {/render}
73 </td>
74 </tr>
75 </table>
76 </td>
77 <td rowspan=2 style="border-left:1px solid #A0A0A0">
78
79 </td>
80 <td>
81 {render acl=$gosaProxyFlagBACL}
82 <input type="checkbox" id="filterB" name="filterB" value="B" {$filterB} {if $pstate=="disabled"} disabled {/if} onClick="{$changeB}">
83 {/render}
84 <LABEL for="quota_size">{t}Restrict proxy usage by quota{/t}</LABEL>
85 <br>
86 <table summary="" style="margin-left:20px;">
87 <tr>
88 <td>
89 {render acl=$gosaProxyFlagBACL}
90 <input name="quota_size" id="quota_size" size=7 maxlength=10 value="{$quota_size}" {if $Bstate=="disabled"} disabled {/if} {$pstate}>
91 {/render}
92
93 {render acl=$gosaProxyFlagBACL}
94 <select size="1" name="quota_unit" id="quota_unit" {if $Bstate=="disabled" } disabled {/if} {$pstate}>
95 {html_options options=$quota_unit selected=$quota_u}
96 </select>
97 {/render}
99 <LABEL for="gosaProxyQuotaPeriod">{t}per{/t}</LABEL>
100 {render acl=$gosaProxyFlagBACL}
101 <select size="1" name="gosaProxyQuotaPeriod" id="gosaProxyQuotaPeriod" {if $Bstate=="disabled"} disabled {/if} {$pstate}>
102 {html_options options=$quota_time selected=$gosaProxyQuotaPeriod}
103 </select>
104 {/render}
105 </td>
106 </tr>
107 </table>
108 </td>
109 </tr>
110 </table>
111 </td>
112 </tr>
113 </table>