Code

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