Code

Some template updates
[gosa.git] / include / sieve / templates / element_vacation.tpl
index 837267805c6d2e852501d52bd2170dadcfb42450..a361569b09c1ad8a3a3058dc10efc0e8750ae0f1 100644 (file)
@@ -1,21 +1,11 @@
-
-{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 cellpadding=2 style='background-color:#EEEEDD;width:100%; border: solid 1px #CCCCCC'>
+<table class='sieve_vacation_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>
-
        {/foreach}
        {if $Expert}
        <tr>
@@ -28,7 +18,7 @@
        </tr>
        <tr>
                <td >
-                       {t}Release date{/t}&nbsp;
+                       {t}Release interval{/t}&nbsp;
                </td>
                <td>
                        <input type='text' name='vacation_release_{$ID}' value='{$Days}'>
@@ -44,8 +34,8 @@
                </td>
        </tr>
        <tr>
-               <td colspan="2">
-                   <textarea name='vacation_reason_{$ID}' style='width:100%;height:60px;'>{$Reason}</textarea>
+               <td class='sieve_vacation_input' colspan=2>
+                   <textarea name='vacation_reason_{$ID}' class='sieve_vacation_input'>{$Reason}</textarea>
                </td>
        </tr>
        {else}
                </td>
        </tr>
        <tr>
-               <td colspan=2>
-                   <textarea name='vacation_reason_{$ID}' style='width:100%;height:60px;'>{$Reason}</textarea>
+               <td class='sieve_vacation_input' colspan=2>
+                   <textarea name='vacation_reason_{$ID}' class='sieve_vacation_input'>{$Reason}</textarea>
                </td>
        </tr>
        {/if}
 </table>
-
-{if $LastErrorCnt != 0}
-
-            </td>
-        </tr>
-    </table>
-{/if}
-
-