Code

Mass table tag fixing
[gosa.git] / plugins / personal / mail / generic.tpl
index 6f092f9113809db834062c2ee7b4ba5a722dc18e..ed0769634130867f0eacf2e48cd66edfc2f17907 100644 (file)
@@ -1,21 +1,18 @@
-<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 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}Primary address{/t}{$must}</td>
-     <td><input name="mail" size=25 maxlength=60 {$mailACL} value="{$mail}"></td>
+     <td><input name="mail" size=25 maxlength=65 {$mailACL} value="{$mail}"></td>
     </tr>
     <tr>
      <td>{t}Server{/t}</td>
      <td>
       <select size="1" name="gosaMailServer" {$gosaMailServerACL} title="{t}Specify the mail server where the user will be hosted on{/t}">
-               {if $mailServers ==""}
                    {html_options values=$mailServers output=$mailServers selected=$gosaMailServer}
-               {else}
-                       <option>
-               {/if}
+                       <option disabled></option>
       </select>
      </td>
     </tr>
@@ -27,7 +24,7 @@
      <td>
       <br>
       {if $quotadefined eq "true"}
-      <img alt="" src="progress.php?x=100&amp;y=16&amp;p={$quotausage}" align="middle">
+       {$quotausage}
       {else}
       {t}not defined{/t}
       {/if}
    <h2><img alt="" align="middle" src="images/alternatemail.png"> {t}Alternative addresses{/t}</h2>
    <select style="width:350px; height:100px;" name="alternates_list[]" size=15
         multiple title="{t}List of alternative mail addresses{/t}">
-        {if $gosaMailAlternateAddress ==""}
             {html_options values=$gosaMailAlternateAddress output=$gosaMailAlternateAddress}
-        {else}
-            <option>
-        {/if}
-    
+                       <option disabled></option>
    </select>
    <br>
-   <input name="alternate_address" size=30 align="middle" maxlength="60"{$gosaMailAlternateAddressACL} value="">
+   <input name="alternate_address" size=30 align="middle" maxlength="65" {$gosaMailAlternateAddressACL} value="">
    <input type=submit value="{t}Add{/t}" name="add_alternate"
        {$gosaMailAlternateAddressACL}>&nbsp;
    <input type=submit value="{t}Delete{/t}" name="delete_alternate"
@@ -71,7 +64,7 @@
 <p class="seperator">&nbsp;</p>
 
 <h2><img alt="" align="middle" src="images/envelope.png"> {t}Mail options{/t}</h2>
-<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 style="padding-bottom:0px;">
   <td style="width:45%">
    <input type=checkbox name="drop_own_mails" value="1" {$drop_own_mails}
    <input type=checkbox name="use_spam_filter" value="1" {$use_spam_filter}
        {$gosaSpamSortLevelACL} title="{t}Select if you want to filter this mails through spamassassin{/t}"> {t}Move mails tagged with spam level greater than{/t}
    <select size="1" name="gosaSpamSortLevel" {$gosaSpamSortLevelACL} title="{t}Choose spam level - smaller values are more sensitive{/t}">
-        {if $spamlevel ==""}
-            {html_options values=$spamlevel output=$spamlevel selected=$gosaSpamSortLevel}
-        {else}
-            <option>
-        {/if}
- {html_options values=$spamlevel output=$spamlevel selected=$gosaSpamSortLevel}
+        {html_options values=$spamlevel output=$spamlevel selected=$gosaSpamSortLevel}
    </select>
    {t}to folder{/t}
    <select size="1" name="gosaSpamMailbox" {$gosaSpamMailboxACL}>
-        {if $spambox ==""}
                {html_options values=$spambox output=$spambox selected=$gosaSpamMailbox}
-               {else}
-            <option>
-        {/if}
+                       <option disabled></option>
    </select>
    <br>
    <input type=checkbox name="use_mailsize_limit" value="1" {$use_mailsize_limit}
    <br>
    {if $show_templates eq "true"}
    <select name="vacation_template">
-        {if $vacationtemplates ==""}
                {html_options options=$vacationtemplates selected=$template}
-               {else}
-            <option>
-        {/if}
+                       <option disabled></option>
        {html_options options=$vacationtemplates selected=$template}
    </select>
    <input type="submit" value="{t}Import{/t}" name="import_vacation"
     <b>{t}Forward messages to{/t}</b>
    </p>
    <select style="width:350px; height:100px;" name="forwarder_list[]" size=15 multiple>
-        {if $gosaMailForwardingAddress ==""}
                        {html_options values=$gosaMailForwardingAddress output=$gosaMailForwardingAddress selected=$template}        
-               {else}
-            <option>
-        {/if}
+                       <option disabled></option>
    </select>
    <br>
-   <input name="forward_address" size=20 align="middle" maxlength=60
+   <input name="forward_address" size=20 align="middle" maxlength=65
        {$gosaMailForwardingAddressACL} value="">
    <input type="submit" value="{t}Add{/t}" name="add_forwarder"
        {$gosaMailForwardingAddressACL}>&nbsp;
 
 <h2><img alt="" align="middle" src="images/false.png"> {t}Advanced mail options{/t}</h2>
 
-<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>
    <input type=checkbox name="only_local" value="1" {$only_local} {$only_localACL} title="{t}Select if user can only send and receive inside his own domain{/t}">