Code

Added size/exists handling for element if
[gosa.git] / include / sieve / templates / element_size.tpl
1 <b>{t}Size{/t}</b>
2 <table>
3         <tr>
4                 <td>
5                         {if $LastError != ""}
6                                 <font color='red'>{$LastError}</font>
7                                 <br>
8                         {/if}                   
9                 
10                         {if $Inverse}
11                                 {t}If size is{/t} <b>{t}not{/t}</b>
12                         {else}
13                                 {t}If size is{/t}
14                         {/if}
15                         <select name='Match_type_{$ID}' title='{t}Select match type{/t}'>
16                                 {html_options options=$Match_types selected=$Match_type}
17                         </select>
18                         <input type='text' name='Value_{$ID}' value='{$Value}'>
19                         <select name='Value_Unit_{$ID}' title='{t}Select value unit{/t}'>
20                                 {html_options options=$Units selected=$Value_Unit}
21                         </select>
22                         <input type='submit'>
23                 </td>
24         </tr>
25 </table>