Code

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