Code

1f80feb967952f05a0e9886f2ac046aee40c43e6
[gosa.git] / include / sieve / templates / edit_frame_base.tpl
2 <table style='width:100%;' cellspacing=0 cellpadding=0>
3         <tr>
4                 <td style='background-color: #CCCCCC; padding:5px;'>
5                         
6                         <input type='submit' name='Add_Element' value="{t}Add element{/t}">
7                         <input type='submit' name='Save_Copy' value="{t}Save copy{/t}">
8                         <input type='submit' name='Import_Copy' value="{t}Import copy{/t}">
10                         {if $Mode != "Source-Only"}                     
11                                 <input type='submit' name='View_Source' value="{t}View source{/t}">
12                                 <input type='submit' name='View_Structured' value="{t}View structured{/t}">
13                         {/if}
14                 </td>
15         </tr>
16         <tr>
17                 <td style='background-color: #FFFFFF; border: solid 2px #CCCCCC; '>
19                         {if $Script_Error != ""}
20                         <table style='width:100%;' cellspacing=0 cellpadding=0> 
21                                 <tr>    
22                                         <td style='background-color: orange;padding:5px;'>
23                                                 <b>{$Script_Error}</b>
24                                         </td>
25                                 </tr>
26                         </table>
27                         {/if}
30                         {if $Mode == "Structured"}
31                                 {$Contents}
32                         {else}
33                                 <textarea name='script_contents' style='width:100%;height:350px;'>{$Contents}</textarea>
34                         {/if}
36                 </td>
37         </tr>
38 </table>
39 <div class='seperator' style='text-align:right; width:100%;'>
40         <input type='submit' name='save_sieve_changes' value='{t}Save{/t}'>
41         &nbsp;
42     <input type='submit' name='cancel_sieve_changes' value='{t}Cancel{/t}'>
43 </div>