Code

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