Code

Updated TODO
[gosa.git] / plugins / personal / connectivity / proxy.tpl
index 24650cc0d3003449178afdfe188fce607fa00b8a..adaa5100b6ffe8c75b1c130b5e64617b038974e5 100644 (file)
@@ -1,38 +1,40 @@
-<h2>{if $tabbed eq 1}<input type="checkbox" id="proxy" name="proxy" value="B" {$proxyState} {$gosaProxyAcctFlagsACL} 
-       onclick="
-               changeState('filterF'); 
-               changeState('filterT'); 
-               changeState('filterB'); 
-               changeTripleSelectState('proxy', 'filterT', 'startHour'); 
-               changeTripleSelectState('proxy', 'filterT', 'startMinute'); 
-               changeTripleSelectState('proxy', 'filterT', 'stopHour'); 
-               changeTripleSelectState('proxy', 'filterT', 'stopMinute'); 
-               changeTripleSelectState('proxy', 'filterB', 'quota_size'); 
-               changeTripleSelectState('proxy', 'filterB', 'quota_unit'); 
-               changeTripleSelectState('proxy', 'filterB', 'gosaProxyQuotaPeriod');"
-       >
+<h2>
+       {if $tabbed eq 1}
+               <input type="checkbox" id="proxy" name="proxy" value="B" {$proxyState} {$gosaProxyAcctFlagsACL} 
+                       onClick="
+                               changeState('filterF'); 
+                               changeState('filterT'); 
+                               changeState('filterB');
+                               changeTripleSelectState('proxy', 'filterT', 'startHour'); 
+                               changeTripleSelectState('proxy', 'filterT', 'startMinute'); 
+                               changeTripleSelectState('proxy', 'filterT', 'stopHour'); 
+                               changeTripleSelectState('proxy', 'filterT', 'stopMinute'); 
+                               changeTripleSelectState('proxy', 'filterB', 'quota_size'); 
+                               changeTripleSelectState('proxy', 'filterB', 'quota_unit'); 
+                               changeTripleSelectState('proxy', 'filterB', 'gosaProxyQuotaPeriod');
+                       ">
        {/if}{t}Proxy account{/t}</h2>
 
-<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
+<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
  <tr>
    <td>
-    <table width="100%" cellpadding=0>
-    <tr><td>
+    <table summary="" border=0 width="100%" cellpadding=0>
+    <tr><td colspan=2>
     <input type="checkbox" name="filterF" id="filterF" value="F" {$filterF} {$gosaProxyAcctFlagsACL} {$pstate}>
     {t}Filter unwanted content (i.e. pornographic or violence related){/t}
     </td></tr>
      <tr>
       <td width="50%">
     <input type="checkbox" name="filterT" id="filterT" value="T" {$filterT} {$gosaProxyAcctFlagsACL} {$pstate}
-       onclick="
-               changeSubselectState('filterT', 'startHour'); 
-               changeSubselectState('filterT', 'startMinute'); 
-               changeSubselectState('filterT', 'stopHour'); 
-               changeSubselectState('filterT', 'stopMinute'); 
+       onClick="
+               changeSubselectState('filterT', 'startHour');
+               changeSubselectState('filterT', 'startMinute');
+               changeSubselectState('filterT', 'stopHour');
+               changeSubselectState('filterT', 'stopMinute');
        ">
-    {t}Limit proxy access to working time{/t}
+    <LABEL for="startHour">{t}Limit proxy access to working time{/t}</LABEL>
     <br>
-    <table style="margin-left:20px;">
+    <table summary="" style="margin-left:20px;">
      <tr>
       <td>
         <select size="1" id="startHour" name="startHour" {$gosaProxyWorkingStartACL} {$Tstate}>
    </td>
       <td>
     <input type="checkbox" id="filterB" name="filterB" value="B" {$filterB} {$pstate} {$gosaProxyAcctFlagsACL}
-       onclick="
-               changeSubselectState('filterB', 'quota_size'); 
-               changeSubselectState('filterB', 'quota_unit'); 
+       onClick="
+               changeSubselectState('filterB', 'quota_size');
+               changeSubselectState('filterB', 'quota_unit');
                changeSubselectState('filterB', 'gosaProxyQuotaPeriod');
        ">
-    {t}Restrict proxy usage by quota{/t}
+    <LABEL for="quota_size">{t}Restrict proxy usage by quota{/t}</LABEL>
     <br>
-    <table style="margin-left:20px;">
+    <table summary="" style="margin-left:20px;">
      <tr>
       <td>
        <input name="quota_size" id="quota_size" size=7 maxlength=10 {$Bstate} {$gosaProxyQuotaACL} value="{$quota_size}">
@@ -74,7 +76,8 @@
        <select size="1" name="quota_unit" id="quota_unit" {$Bstate} {$gosaProxyQuotaACL}>
        {html_options options=$quota_unit selected=$quota_u}
        </select>
-       {t}per{/t}
+          
+       <LABEL for="gosaProxyQuotaPeriod">{t}per{/t}</LABEL>
        <select size="1" name="gosaProxyQuotaPeriod" id="gosaProxyQuotaPeriod" {$Bstate} {$gosaProxyQuotaACL}>
         {html_options options=$quota_time selected=$gosaProxyQuotaPeriod}
        </select>