Code

Fixed ACL stuff for connectivity tab
[gosa.git] / plugins / personal / connectivity / proxy.tpl
1 <h2>
2                 <input type="checkbox" id="proxy" name="proxy" value="B" {$proxyState} {$proxyAccountACL} 
3                         onClick="
4                                 {$changeA}
5                                 changeTripleSelectState('proxy', 'filterB', 'quota_size'); 
6                                 changeTripleSelectState('proxy', 'filterB', 'quota_unit'); 
7                                 changeTripleSelectState('proxy', 'filterB', 'gosaProxyQuotaPeriod');
8                         ">
9         {t}Proxy account{/t}</h2>
11 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
12  <tr>
13    <td>
14     <table summary="" border=0 width="100%" cellpadding=0>
15     <tr><td colspan=2>
16     <input type="checkbox" name="filterF" id="filterF" value="F" {$filterF} {$gosaProxyAcctFlagsACL} {$pstate}>
17     {t}Filter unwanted content (i.e. pornographic or violence related){/t}
18     </td></tr>
19      <tr>
20       <td width="50%">
21     <input type="checkbox" name="filterT" id="filterT" value="T" {$filterT} {$Working_allowedACL} {$pstate}
22         onClick="{$ProxyWorkingStateChange}">
23     <LABEL for="startHour">{t}Limit proxy access to working time{/t}</LABEL>
24     <br>
25     <table summary="" style="margin-left:20px;">
26      <tr>
27       <td>
28         <select size="1" id="startHour" name="startHour" {$gosaProxyWorkingStartACL} {$Tstate}>
29          {html_options values=$hours output=$hours selected=$starthour}
30         </select>
31         &nbsp;:&nbsp;
32         <select size="1" id="startMinute" name="startMinute" {$gosaProxyWorkingStartACL} {$Tstate}>
33          {html_options values=$minutes output=$minutes selected=$startminute}
34         </select>
35         &nbsp;-&nbsp;
36         <select size="1" id="stopHour" name="stopHour" {$gosaProxyWorkingStopACL} {$Tstate}>
37          {html_options values=$hours output=$hours selected=$stophour}
38         </select>
39         &nbsp;:&nbsp;
40         <select size="1" id="stopMinute" name="stopMinute" {$gosaProxyWorkingStopACL} {$Tstate}>
41          {html_options values=$minutes output=$minutes selected=$stopminute}
42         </select>
43       </td>
44      </tr>
45     </table>
46       </td>
47    <td rowspan=2 style="border-left:1px solid #A0A0A0">
48      &nbsp;
49    </td>
50       <td>
51     <input type="checkbox" id="filterB" name="filterB" value="B" {$filterB} {$pstate} {$gosaProxyAcctFlagsACL} {$gosaProxyQuotaACL}
52         onClick="{$changeB}">
53     <LABEL for="quota_size">{t}Restrict proxy usage by quota{/t}</LABEL>
54     <br>
55     <table summary="" style="margin-left:20px;">
56      <tr>
57       <td>
58        <input name="quota_size" id="quota_size" size=7 maxlength=10 {$Bstate} {$gosaProxyQuotaACL} value="{$quota_size}">
59        &nbsp;
60        <select size="1" name="quota_unit" id="quota_unit" {$Bstate} {$gosaProxyQuotaACL}>
61         {html_options options=$quota_unit selected=$quota_u}
62        </select>
63            
64        <LABEL for="gosaProxyQuotaPeriod">{t}per{/t}</LABEL>
65        <select size="1" name="gosaProxyQuotaPeriod" id="gosaProxyQuotaPeriod" {$Bstate} {$gosaProxyQuotaACL}>
66         {html_options options=$quota_time selected=$gosaProxyQuotaPeriod}
67        </select>
68       </td>
69      </tr>
70     </table>
71    </td>
72    </tr>
73    </table>
74   </td>
75  </tr>
76 </table>