Code

Made mail plugin w3c conform
[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}
6 {if $gosaProxyFlagF_W}
7         changeState('filterF');
8 {/if}
9 {if $gosaProxyFlagB_W} 
10     changeTripleSelectState('proxy', 'filterB', 'quota_size'); 
11 {/if}
12 {if $gosaProxyQuotaPeriod_W} 
13     changeTripleSelectState('proxy', 'filterB', 'quota_unit'); 
14     changeTripleSelectState('proxy', 'filterB', 'gosaProxyQuotaPeriod');
15 {/if}
16    ">
17  {t}Proxy account{/t}</h2>
19 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
20  <tr>
21    <td>
22     <table summary="" border=0 width="100%" cellpadding=0>
23     <tr><td colspan=2>
25 {render acl=$gosaProxyFlagFACL}
26     <input type="checkbox" name="filterF" id="filterF" value="F" {$filterF} {$pstate}>
27 {/render}
28     {t}Filter unwanted content (i.e. pornographic or violence related){/t}
29     </td></tr>
30      <tr>
31       <td width="50%">
33 {render acl=$gosaProxyFlagTACL}
34     <input type="checkbox" name="filterT" id="filterT" value="T" {$filterT} {$pstate}  onClick="javascript:
35  {$ProxyWorkingStateChange}">
36 {/render}
38     <LABEL for="startHour">{t}Limit proxy access to working time{/t}</LABEL>
39     <br>
40     <table summary="" style="margin-left:20px;">
41      <tr>
42       <td>
44 {render acl=$gosaProxyWorkingTimeACL}
45         <select size="1" id="startHour" name="startHour" {if $Tstate!=""} disabled {/if} {$pstate}>
46          {html_options values=$hours output=$hours selected=$starthour}
47         </select>
48 {/render}
49         &nbsp;:&nbsp;
50 {render acl=$gosaProxyWorkingTimeACL}
51         <select size="1" id="startMinute" name="startMinute" {if  $Tstate!=""} disabled {/if} {$pstate}>
52          {html_options values=$minutes output=$minutes selected=$startminute}
53         </select>
54 {/render}
55         &nbsp;-&nbsp;
56 {render acl=$gosaProxyWorkingTimeACL}
57         <select size="1" id="stopHour" name="stopHour" {if $Tstate!=""}disabled {/if} {$pstate}>
58    {html_options values=$hours output=$hours selected=$stophour}
59         </select>
60 {/render}
61         &nbsp;:&nbsp;
62 {render acl=$gosaProxyWorkingTimeACL}
63         <select size="1" id="stopMinute" name="stopMinute" {if $Tstate!=""} disabled {/if} {$pstate} >
64          {html_options values=$minutes output=$minutes selected=$stopminute}
65         </select>
66 {/render}
67       </td>
68      </tr>
69     </table>
70       </td>
71    <td rowspan=2 style="border-left:1px solid #A0A0A0">
72      &nbsp;
73    </td>
74       <td>
75 {render acl=$gosaProxyFlagBACL}
76     <input type="checkbox" id="filterB" name="filterB" value="B" {$filterB} {if $pstate=="disabled"} disabled {/if} onClick="{$changeB}">
77 {/render}
78     <LABEL for="quota_size">{t}Restrict proxy usage by quota{/t}</LABEL>
79     <br>
80     <table summary="" style="margin-left:20px;">
81      <tr>
82       <td>
83 {render acl=$gosaProxyFlagBACL}
84        <input name="quota_size" id="quota_size" size=7 maxlength=10 value="{$quota_size}" {if $Bstate=="disabled"} disabled {/if} {$pstate}>
85 {/render}
86        &nbsp;
87 {render acl=$gosaProxyQuotaPeriodACL}
88        <select size="1" name="quota_unit" id="quota_unit" {if $Bstate=="disabled" } disabled {/if} {$pstate}>
89         {html_options options=$quota_unit selected=$quota_u}
90        </select>
91 {/render}
92     
93        <LABEL for="gosaProxyQuotaPeriod">{t}per{/t}</LABEL>
94 {render acl=$gosaProxyQuotaPeriodACL}
95        <select size="1" name="gosaProxyQuotaPeriod" id="gosaProxyQuotaPeriod" {if $Bstate=="disabled"} disabled {/if} {$pstate}>
96         {html_options options=$quota_time selected=$gosaProxyQuotaPeriod}
97        </select>
98 {/render}
99       </td>
100      </tr>
101     </table>
102    </td>
103    </tr>
104    </table>
105   </td>
106  </tr>
107 </table>