Code

fixed problem with klicking apply more than once
[gosa.git] / plugins / admin / systems / goMailServer.tpl
index a53e0a83d7883ca015c256c658a7f54b1b7f955d..a075cde94802492aa6a6e9a40033eb7197d223e9 100644 (file)
@@ -39,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>
@@ -72,7 +72,7 @@
                 <tr>
                     <td>
                         {t}Domains to accept mail for{/t}<br>
-                        <select name='Select_postfixMyDestinations[]' multiple size=6 style='width:100%;' title='{t}Postfix is responsilbe for the follwing domains.{/t}'>
+                        <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="">
@@ -89,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="">
 
 <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>
-<h2><img class="center" alt="" src="images/rocket.png" align="middle"> Action</h2>
-<select name="action" title='{t}{/t}' {if $is_new == "new"} disabled {/if}>
+<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>