diff --git a/include/sieve/templates/element_vacation.tpl b/include/sieve/templates/element_vacation.tpl
index ed6e2b0727e340bc440ac6085da60676a3a17d5b..a361569b09c1ad8a3a3058dc10efc0e8750ae0f1 100644 (file)
+<table class='sieve_vacation_container'>
-<table cellspacing=0 cellpadding=2 style='background-color:#EEEEDD;width:100%; border: solid 1px #CCCCCC'>
-
-
+ {foreach from=$LastError item=val key=key}
+ <tr>
+ <td colspan=4>
+ <div class='sieve_error_msgs'>{$LastError[$key]}</div>
+ </td>
+ </tr>
+ {/foreach}
{if $Expert}
<tr>
<td style='width:20%'>
</tr>
<tr>
<td >
- {t}Release date{/t}
+ {t}Release interval{/t}
</td>
<td>
<input type='text' name='vacation_release_{$ID}' value='{$Days}'>
</tr>
<tr>
<td>
- {t}Receiver{/t}
+ {t}Alternative sender addresses{/t}
</td>
<td>
<textarea name='vacation_receiver_{$ID}' style='width:100%;height:20px;'>{$Addresses}</textarea>
</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>
-