Code

Added table summaries
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 5 Mar 2010 11:09:45 +0000 (11:09 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 5 Mar 2010 11:09:45 +0000 (11:09 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16201 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/pureftpd/personal/connectivity/pureftpd/pureftpd.tpl

index 2d399b0184db82d7ab1e27da6d6ba282361b39d9..a81a3c8d5c7c98ec2b7b942e20ff4b4edd0470d8 100644 (file)
@@ -6,12 +6,13 @@
        {t}FTP account{/t}
 </h3>
 
-<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
+<table summary="{t}FTP configuration{/t}"
+  style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
 
  <!-- Headline container -->
  <tr>
    <td style="width:50%; vertical-align:top;">
-     <table style="margin-left:4px;">
+     <table style="margin-left:4px;" summary="{t}Bandwith settings{/t}">
        <tr>
          <td colspan=2 style="vertical-align:top;">
            <b>{t}Bandwidth{/t}</b>
        </tr>
        <tr>
          <td>{t}Upload bandwidth{/t}</td>
-        <td>
-{render acl=$FTPUploadBandwidthACL checkbox=$multiple_support checked=$use_FTPUploadBandwidth}
-<input type='text' name="FTPUploadBandwidth" id="FTPUploadBandwidth" size=7 maxlength=7 value="{$FTPUploadBandwidth}" {$fstate} >
-{/render}
-        {t}kb/s{/t}</td>
+        <td>
+          {render acl=$FTPUploadBandwidthACL checkbox=$multiple_support checked=$use_FTPUploadBandwidth}
+            <input type='text' name="FTPUploadBandwidth" id="FTPUploadBandwidth" size=7 
+              maxlength=7 value="{$FTPUploadBandwidth}" {$fstate} >
+          {/render}
+          {t}kb/s{/t}
+        </td>
        </tr>
        <tr>
          <td>{t}Download bandwidth{/t}</td>
-        <td>
-{render acl=$FTPDownloadBandwidthACL  checkbox=$multiple_support checked=$use_FTPDownloadBandwidth}
-<input type='text' name="FTPDownloadBandwidth" id="FTPDownloadBandwidth" size=7 maxlength=7 value="{$FTPDownloadBandwidth}" {$fstate} >
-{/render}
-        {t}kb/s{/t}</td>
+         <td>
+            {render acl=$FTPDownloadBandwidthACL  checkbox=$multiple_support checked=$use_FTPDownloadBandwidth}
+              <input type='text' name="FTPDownloadBandwidth" id="FTPDownloadBandwidth" size=7 
+                maxlength=7 value="{$FTPDownloadBandwidth}" {$fstate} >
+            {/render}
+            {t}kb/s{/t}
+         </td>
        </tr>
      </table>
    </td>
@@ -39,7 +44,7 @@
      &nbsp;
    </td>
    <td>
-     <table >
+     <table summary="{t}Quota settings{/t}">
        <tr>
          <td colspan=2 style="vertical-align:top;">
            <b>{t}Quota{/t}</b>
        </tr>
        <tr>
          <td>{t}Files{/t}</td>
-        <td>
-{render acl=$FTPQuotaFilesACL checkbox=$multiple_support checked=$use_FTPQuotaFiles}
-<input type='text' name="FTPQuotaFiles" id="FTPQuotaFiles" size=7 maxlength=10 value="{$FTPQuotaFiles}" {$fstate} >
-{/render}
-       </td>
+           <td>
+            {render acl=$FTPQuotaFilesACL checkbox=$multiple_support checked=$use_FTPQuotaFiles}
+              <input type='text' name="FTPQuotaFiles" id="FTPQuotaFiles" size=7 
+                maxlength=10 value="{$FTPQuotaFiles}" {$fstate} >
+            {/render}
+          </td>
        </tr>
        <tr>
          <td>{t}Size{/t}</td>
-        <td>
-{render acl=$FTPQuotaMBytesACL checkbox=$multiple_support checked=$use_FTPQuotaMBytes}
-<input type='text' name="FTPQuotaMBytes" id="FTPQuotaMBytes" size=7 maxlength=10 value="{$FTPQuotaMBytes}" {$fstate} > 
-{/render}
-       {t}MB{/t}
-       </td>
+         <td>
+          {render acl=$FTPQuotaMBytesACL checkbox=$multiple_support checked=$use_FTPQuotaMBytes}
+            <input type='text' name="FTPQuotaMBytes" id="FTPQuotaMBytes" size=7 
+              maxlength=10 value="{$FTPQuotaMBytes}" {$fstate} > 
+          {/render}
+          {t}MB{/t}
+        </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>
-     <table style="margin-left:4px;">
+     <table style="margin-left:4px;" summary="{t}Ratio settings{/t}">
        <tr>
          <td colspan=2 style="vertical-align:top;">
            <b>{t}Ratio{/t}</b>
        </tr>
        <tr>
          <td>{t}Uploaded / downloaded files{/t}</td>
-        <td>
-
-{render acl=$FTPUploadRatioACL checkbox=$multiple_support checked=$use_FTPUploadRatio}
-<input type='text' name="FTPUploadRatio" id="FTPUploadRatio" size=5 maxlength=20 value="{$FTPUploadRatio}" {$fstate} >
-{/render}
-        / 
-{render acl=$FTPDownloadRatioACL checkbox=$multiple_support checked=$use_FTPDownloadRatio}
-<input type='text' name="FTPDownloadRatio" id="FTPDownloadRatio" size=5 maxlength=20 value="{$FTPDownloadRatio}" {$fstate} >
-{/render}
-       </td>
+         <td>
+            {render acl=$FTPUploadRatioACL checkbox=$multiple_support checked=$use_FTPUploadRatio}
+              <input type='text' name="FTPUploadRatio" id="FTPUploadRatio" size=5 
+                maxlength=20 value="{$FTPUploadRatio}" {$fstate} >
+            {/render}
+              / 
+            {render acl=$FTPDownloadRatioACL checkbox=$multiple_support checked=$use_FTPDownloadRatio}
+              <input type='text' name="FTPDownloadRatio" id="FTPDownloadRatio" size=5 
+                maxlength=20 value="{$FTPDownloadRatio}" {$fstate} >
+            {/render}
+         </td>
        </tr>
      </table>
    </td>
    <td>
-     <table >
+     <table summary="{t}Miscellaneous{/t}">
        <tr>
          <td colspan=2 style="vertical-align:top;">
            <b>{t}Miscellaneous{/t}</b>
          </td>
        <tr>
          <td>
-{render acl=$FTPStatusACL checkbox=$multiple_support checked=$use_FTPStatus}
-<input type=checkbox name="FTPStatus" id="FTPStatus" value="disabled" {$FTPStatus} title="{t}Check to disable FTP Access{/t}" {$fstate} class="center">
-{/render}
-{t}Temporary disable FTP access{/t}</td>
+          {render acl=$FTPStatusACL checkbox=$multiple_support checked=$use_FTPStatus}
+            <input type=checkbox name="FTPStatus" id="FTPStatus" value="disabled" {$FTPStatus} 
+              title="{t}Check to disable FTP Access{/t}" {$fstate} class="center">
+          {/render}
+          {t}Temporary disable FTP access{/t}</td>
        </tr>
      </table>
    </td>