Code

Added repository service
[gosa.git] / plugins / admin / systems / goMailServer.tpl
index 94d64ac83d0530010636036ef9234633a26e91f9..a075cde94802492aa6a6e9a40033eb7197d223e9 100644 (file)
@@ -1,10 +1,15 @@
-<img src='images/mail.png'><b>{t}Generic{/t}</b>
-<br><br>
-{t}Visible full qualified hostname{/t}&nbsp;<input type="text" name='postfixMyhostname' value='{$postfixMyhostname}' title='{t}The full qualified host name.{/t}'>
+<h2><img class="center" alt="" align="middle" src="images/rightarrow.png" /> {t}Generic{/t}</h2>
 <table  style="width:100%;">
        <tr>
-               <td width="50%">
+               <td width="50%" style="vertical-align:top">
                        <table >
+                               <tr>
+                                       <td>{t}Visible full qualified hostname{/t}
+                                       </td>
+                                       <td>
+                                               <input type="text" name='postfixMyhostname' value='{$postfixMyhostname}' title='{t}The full qualified host name.{/t}'>
+                                       </td>
+                               </tr>
                                <tr>
                                        <td>{t}Max mail header size{/t}
                                        </td>
@@ -34,7 +39,7 @@
                                        </td>
                                        <td>
                                                <input type="text" name='postfixRelayhost' value='{$postfixRelayhost}' 
-                                                                       title='{t}Relay messages to following host.{/t}'>
+                                                                       title='{t}Relay messages to following host:{/t}'>
                                        </td>
                                </tr>
                        </table>
@@ -58,6 +63,7 @@
        <tr>
                <td colspan="2">
                        <p class='seperator'>&nbsp;</p>
+                       <h2>{t}Domains and routing{/t}</h2>
                </td>
        </tr>   
        <tr>
@@ -65,8 +71,8 @@
                          <table style="width:100%;">
                 <tr>
                     <td>
-                        {t}Domains and routing{/t}<br>
-                        <select name='Select_postfixMyDestinations[]' multiple size=6 style='width:100%;' title='{t}Postfix is responsilbe for the follwing domains.{/t}'>
+                        {t}Domains to accept mail for{/t}<br>
+                        <select name='Select_postfixMyDestinations[]' multiple size=6 style='width:100%;' title='{t}Postfix is responsible for the following domains:{/t}'>
                             {html_options options=$postfixMyDestinations}
                         </select>
                         <input type="text" name="NewString_postfixMyDestinations" value="">
@@ -83,7 +89,7 @@
                         {t}Transports{/t}<br>
                                                {$Div_postfixTransportTable}
                         <input type="text" name="Source_postfixTransportTable" value="">
-                        <select name='TransportProtocol' title='{t}Select a transport protocoll.{/t}'>
+                        <select name='TransportProtocol' title='{t}Select a transport protocol.{/t}'>
                             {html_options options=$TransportProtocols}
                         </select>
                         <input type="text" name="Destination_postfixTransportTable" value="">
        <tr>
                <td colspan="2">
                        <p class='seperator'>&nbsp;</p>
+                       <h2>{t}Restrictions{/t}</h2>
                </td>
        </tr>   
        <tr>
 
 <p class='seperator'>&nbsp;</p>
 <br>
+<h2><img class="center" alt="" src="images/rocket.png" align="middle"> Action</h2>
 {if $is_new == "new"}
        {t}The server must be saved before you can use the status flag.{/t}
+{elseif !$is_acc}
+       {t}The service must be saved before you can use the status flag.{/t}
 {/if}
 <br>
-<select name="action" title='{t}{/t}' {if $is_new == "new"} disabled {/if}>
-       {html_options options=$Actions selected=$goMailServerStatus}    
+<select name="action" title='{t}Set new status{/t}' 
+       {if $is_new == "new" || $is_acc == false} disabled {/if}
+>
+       <option value="none">&nbsp;</option>
+       {html_options options=$Actions} 
 </select>
-<input type='submit' name='ExecAction' title='{t}Set status{/t}' value='{t}Execute{/t}' {if $is_new == "new"} disabled {/if}>
+<input type='submit' name='ExecAction' title='{t}Set status{/t}' value='{t}Execute{/t}' 
+       {if $is_new == "new" || $is_acc == false} disabled {/if}
+>
 
 <p class="seperator">&nbsp;</p>
 <p>