Code

Some template updates
[gosa.git] / include / sieve / templates / element_require.tpl
index b4d74ff4de8510aabe19ce5054b3bd052523b1b5..3a3f261f3244e0968f4c25c353586e3a5f95c25a 100644 (file)
@@ -1,18 +1,8 @@
-{if $LastErrorCnt != 0}
-    <table style='width:100%;'>
-        <tr>
-            <td style='width:40px; background-color: #FF0000; text-align:center; border: dotted 3px #ff7c1c'>
-                <img src='images/warning.png' alt='{t}Error{/t}'>
-            </td>
-            <td>
-{/if}
-
-<table cellspacing=0 style='width:100%;background-color:#e4ffc9;'>
-       
+<table class='sieve_require_container'>
        {foreach from=$LastError item=val key=key}
                <tr>
                        <td colspan=4>
-                               <font color='red'><b>{$LastError[$key]}</b></font>
+                               <div class='sieve_error_msgs'>{$LastError[$key]}</div>
                        </td>
                </tr>
 
                </td>
        </tr>
        <tr>
-               <td style='padding-left:20px; height:50px;'>
-                       <input type='text'  name='require_{$ID}' style='width:100%' value='{$Require}'>
+               <td style='padding-left:20px;;'>
+                       <input type='text'  name='require_{$ID}' class='sieve_require_input' value='{$Require}'>
                </td>
        </tr>
 </table>
 
-{if $LastErrorCnt != 0}
-
-            </td>
-        </tr>
-    </table>
-{/if}
-