Code

Some template updates
[gosa.git] / include / sieve / templates / element_envelope.tpl
index c99cfdd3c8cac0f293205cb8d68f21de6d01845e..6e86b55c472f67554106acef5f42a05bd99f8830 100755 (executable)
@@ -1,6 +1,14 @@
-
-<table cellspacing=0 cellpadding=2 style='background-color:#EEEEDD;width:100%; border: solid 1px #CCCCCC'>
+<table class='sieve_test_case'>
        {if $Expert}
+       {if $LastError != ""}
+               <tr>
+                               <td colspan=4>
+                           <font color='red'><b>{$LastError}</b></font>
+                               </td>
+                       </tr>
+
+        {/if}
+
        <tr>
                <td>
                        {t}Match type{/t}
                </td>
        </tr>
        {else}
+       {if $LastError != ""}
+               <tr>
+                               <td colspan=4>
+                           <font color='red'><b>{$LastError}</b></font>
+                               </td>
+                       </tr>
+
+        {/if}
        <tr>
                <td style='vertical-align:top;'>
-                       {t}If{/t}
-                       &nbsp;
                        <b>{t}Envelope{/t}</b>
                
                        {if $Inverse}