Code

Updated acls
[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"
30                         {if $gosaProxyWorkingStartACL!="" || $Tstate!=""}
31                                 disabled        
32                         {/if}>
33          {html_options values=$hours output=$hours selected=$starthour}
34         </select>
35         &nbsp;:&nbsp;
36         <select size="1" id="startMinute" name="startMinute"
37                         {if $gosaProxyWorkingStartACL!="" || $Tstate!=""}
38                                 disabled        
39                         {/if}>
40          {html_options values=$minutes output=$minutes selected=$startminute}
41         </select>
42         &nbsp;-&nbsp;
43         <select size="1" id="stopHour" name="stopHour"
44                         {if $gosaProxyWorkingStopACL!="" || $Tstate!=""}
45                                 disabled        
46                         {/if}>
47                         {html_options values=$hours output=$hours selected=$stophour}
48         </select>
49         &nbsp;:&nbsp;
50         <select size="1" id="stopMinute" name="stopMinute" 
51                         {if $gosaProxyWorkingStopACL!="" || $Tstate!=""}
52                                 disabled        
53                         {/if}>
54          {html_options values=$minutes output=$minutes selected=$stopminute}
55         </select>
56       </td>
57      </tr>
58     </table>
59       </td>
60    <td rowspan=2 style="border-left:1px solid #A0A0A0">
61      &nbsp;
62    </td>
63       <td>
64     <input type="checkbox" id="filterB" name="filterB" value="B" {$filterB} 
65                 {if $pstate=="disabled" || $gosaProxyAcctFlagsACL=="disabled" || $gosaProxyQuotaACL=="disabled"}
66                         disabled 
67                 {/if} 
68         onClick="{$changeB}">
69     <LABEL for="quota_size">{t}Restrict proxy usage by quota{/t}</LABEL>
70     <br>
71     <table summary="" style="margin-left:20px;">
72      <tr>
73       <td>
74        <input name="quota_size" id="quota_size" size=7 maxlength=10 value="{$quota_size}"
75                 {if $Bstate=="disabled" || $gosaProxyQuotaACL=="disabled"}
76                         disabled 
77                 {/if}>
78        &nbsp;
79        <select size="1" name="quota_unit" id="quota_unit"
80                 {if $Bstate=="disabled" || $gosaProxyQuotaACL=="disabled"}
81             disabled
82         {/if}>
83                 {html_options options=$quota_unit selected=$quota_u}
84        </select>
85            
86        <LABEL for="gosaProxyQuotaPeriod">{t}per{/t}</LABEL>
87        <select size="1" name="gosaProxyQuotaPeriod" id="gosaProxyQuotaPeriod"
88                 {if $Bstate=="disabled" || $gosaProxyQuotaACL=="disabled"}
89             disabled
90         {/if}>
91         {html_options options=$quota_time selected=$gosaProxyQuotaPeriod}
92        </select>
93       </td>
94      </tr>
95     </table>
96    </td>
97    </tr>
98    </table>
99   </td>
100  </tr>
101 </table>