Code

Fixed layout for mail tab
[gosa.git] / plugins / gofax / faxaccount / generic.tpl
index 340ec4afc0919919b68f4dd4234acae528dd0206..89b0277045246db05f78ae2318f15f8e43ad8946 100644 (file)
@@ -1,29 +1,29 @@
-<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>
 
  <!-- Headline container -->
  <tr>
    <td style="width:50%; vertical-align:top;">
      <h2><img alt="" align="middle" src="images/rightarrow.png"> {t}Generic{/t}</h2>
 
-     <table>
+     <table summary="">
        <tr>
-         <td>{t}Fax{/t}{$must}</td>
+         <td><LABEL for="facsimileTelephoneNumber">{t}Fax{/t}</LABEL>{$must}</td>
          <td>
-           <input name="facsimileTelephoneNumber" size=20 maxlength=60 {$facsimileTelephoneNumberACL} value="{$facsimileTelephoneNumber}" title="{t}Fax number for GOfax to trigger on{/t}">
+           <input name="facsimileTelephoneNumber" id="facsimileTelephoneNumber" size=20 maxlength=65 {$facsimileTelephoneNumberACL} value="{$facsimileTelephoneNumber}" title="{t}Fax number for GOfax to trigger on{/t}">
          </td>
        </tr>
        <tr>
-         <td>{t}Language{/t}</td>
+         <td><LABEL for="goFaxLanguage">{t}Language{/t}</LABEL></td>
         <td>
-           <select size="1" name="goFaxLanguage" {$goFaxLanguageACL} title="{t}Specify the GOfax communication language for fax to mail gateway{/t}">
+           <select size="1" name="goFaxLanguage" id="goFaxLanguage" {$goFaxLanguageACL} title="{t}Specify the GOfax communication language for fax to mail gateway{/t}">
            {html_options values=$languages output=$languages selected=$goFaxLanguage}
            </select>
          </td>
        </tr>
        <tr>
-         <td>{t}Delivery format{/t}</td>
+         <td><LABEL for="goFaxFormat">{t}Delivery format{/t}</LABEL></td>
          <td>
-           <select size="1" name="goFaxFormat" {$goFaxFormatACL} title="{t}Specify delivery format for fax to mail gateway{/t}">
+           <select id="goFaxFormat" size="1" name="goFaxFormat" {$goFaxFormatACL} title="{t}Specify delivery format for fax to mail gateway{/t}">
            {html_options values=$formats output=$formats selected=$goFaxFormat}
            </select>
          </td>
@@ -42,8 +42,8 @@
 
      {if $has_mailaccount eq "false"}
      <input type=checkbox name="fax_to_mail" value="1" {$fax_to_mail} {$goFaxDeliveryModeACL}>
-      {t}Deliver fax as mail to{/t}&nbsp;
-      <input name="mail" size=25 maxlength=60 {$goFaxDeliveryModeACL} value="{$mail}">
+      <LABEL for="mail">{t}Deliver fax as mail to{/t}</LABEL>&nbsp;
+      <input name="mail" id="mail" size=25 maxlength=65 {$goFaxDeliveryModeACL} value="{$mail}">
      {else}
      <input type=checkbox name="fax_to_mail" value="1" {$fax_to_mail} {$goFaxDeliveryModeACL}>
       {t}Deliver fax as mail{/t}
@@ -54,6 +54,7 @@
      {t}Deliver fax to printer{/t}&nbsp;
      <select size="1" name="goFaxPrinter" {$goFaxPrinterACL}>
       {html_options options=$printers selected=$goFaxPrinter}
+               <option disabled>&nbsp;</option>
      </select>
 
    </td>
 
 <p class="seperator">&nbsp;</p>
 
-<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
+<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
   <tr>
     <td style="width:50%;">
     <h2><img alt="" align="middle" src="images/fax_small.png"> {t}Alternate fax numbers{/t}</h2>
      <select style="width:350px; height:100px;" name="alternate_list[]" size=15 multiple {$facsimileAlternateTelephoneNumberACL}>
-       {if $SELECT_facsimileAlternateTelephoneNumber==true}
                        {html_options values=$facsimileAlternateTelephoneNumber output=$facsimileAlternateTelephoneNumber}
-               {else}
-                       <option>
-        {/if}
+                       <option disabled>&nbsp;</option>
      </select><br>
-     <input name="forward_address" size=20 align="middle" maxlength=60 {$facsimileAlternateTelephoneNumberACL} value="">
+     <input name="forward_address" size=20 align="middle" maxlength=65 {$facsimileAlternateTelephoneNumberACL} value="">
      <input type=submit value="{t}Add{/t}" name="add_alternate" {$facsimileAlternateTelephoneNumberACL}>&nbsp;
      <input type=submit value="{t}Add local{/t}" name="add_local_alternate" {$facsimileAlternateTelephoneNumberACL}>&nbsp;
      <input type=submit value="{t}Delete{/t}" name="delete_alternate" {$facsimileAlternateTelephoneNumberACL}>
@@ -85,7 +83,7 @@
     
     <td style="vertical-align:top; width:100%">
       <h2><img alt="" align="middle" src="images/false.png"> {t}Blocklists{/t}</h2>
-      <table>
+      <table summary="">
         <tr>
           <td>{t}Blocklists for incoming fax{/t}</td>
           <td>