Code

Bgcolor changed, table width fixed
[gosa.git] / plugins / personal / connectivity / proxy.tpl
1 <h2>
2         {if $tabbed eq 1}
3                 <input type="checkbox" id="proxy" name="proxy" value="B" {$proxyState} {$gosaProxyAcctFlagsACL} 
4                         onClick="
5                                 changeState('filterF'); 
6                                 changeState('filterT'); 
7                                 changeState('filterB');
8                                 changeTripleSelectState('proxy', 'filterT', 'startHour'); 
9                                 changeTripleSelectState('proxy', 'filterT', 'startMinute'); 
10                                 changeTripleSelectState('proxy', 'filterT', 'stopHour'); 
11                                 changeTripleSelectState('proxy', 'filterT', 'stopMinute'); 
12                                 changeTripleSelectState('proxy', 'filterB', 'quota_size'); 
13                                 changeTripleSelectState('proxy', 'filterB', 'quota_unit'); 
14                                 changeTripleSelectState('proxy', 'filterB', '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         onClick="
30                 changeSubselectState('filterT', 'startHour');
31                 changeSubselectState('filterT', 'startMinute');
32                 changeSubselectState('filterT', 'stopHour');
33                 changeSubselectState('filterT', 'stopMinute');
34         ">
35     {t}Limit proxy access to working time{/t}
36     <br>
37     <table style="margin-left:20px;">
38      <tr>
39       <td>
40         <select size="1" id="startHour" name="startHour" {$gosaProxyWorkingStartACL} {$Tstate}>
41          {html_options values=$hours output=$hours selected=$starthour}
42         </select>
43         &nbsp;:&nbsp;
44         <select size="1" id="startMinute" name="startMinute" {$gosaProxyWorkingStartACL} {$Tstate}>
45          {html_options values=$minutes output=$minutes selected=$startminute}
46         </select>
47         &nbsp;-&nbsp;
48         <select size="1" id="stopHour" name="stopHour" {$gosaProxyWorkingStopACL} {$Tstate}>
49          {html_options values=$hours output=$hours selected=$stophour}
50         </select>
51         &nbsp;:&nbsp;
52         <select size="1" id="stopMinute" name="stopMinute" {$gosaProxyWorkingStopACL} {$Tstate}>
53          {html_options values=$minutes output=$minutes selected=$stopminute}
54         </select>
55       </td>
56      </tr>
57     </table>
58       </td>
59    <td rowspan=2 style="border-left:1px solid #A0A0A0">
60      &nbsp;
61    </td>
62       <td>
63     <input type="checkbox" id="filterB" name="filterB" value="B" {$filterB} {$pstate} {$gosaProxyAcctFlagsACL}
64         onClick="
65                 changeSubselectState('filterB', 'quota_size');
66                 changeSubselectState('filterB', 'quota_unit');
67                 changeSubselectState('filterB', 'gosaProxyQuotaPeriod');
68         ">
69     {t}Restrict proxy usage by quota{/t}
70     <br>
71     <table style="margin-left:20px;">
72      <tr>
73       <td>
74        <input name="quota_size" id="quota_size" size=7 maxlength=10 {$Bstate} {$gosaProxyQuotaACL} value="{$quota_size}">
75        &nbsp;
76        <select size="1" name="quota_unit" id="quota_unit" {$Bstate} {$gosaProxyQuotaACL}>
77         {html_options options=$quota_unit selected=$quota_u}
78        </select>
79        {t}per{/t}
80        <select size="1" name="gosaProxyQuotaPeriod" id="gosaProxyQuotaPeriod" {$Bstate} {$gosaProxyQuotaACL}>
81         {html_options options=$quota_time selected=$gosaProxyQuotaPeriod}
82        </select>
83       </td>
84      </tr>
85     </table>
86    </td>
87    </tr>
88    </table>
89   </td>
90  </tr>
91 </table>