Code

Updated table summary
[gosa.git] / gosa-plugins / mail / personal / mail / sieve / templates / edit_frame_base.tpl
2 <table class='editing_surface' summary="{t}Sieve editor{/t}">
3         <tr>
4                 <td class='editing_surface_menu'>
5                         
6                         <input type='submit' name='Save_Copy' value="{t}Export{/t}">
7                         <input type='submit' name='Import_Script' value="{t}Import{/t}">
9                         {if $Mode != "Source-Only"}                     
10                                 
11                                 {if $Mode == "Source"}
12                                 <input type='submit' name='View_Structured' value="{t}View structured{/t}">
13                                 {else}
14                                 <input type='submit' name='View_Source' value="{t}View source{/t}">
15                                 {/if}
16                         {/if}
17                 </td>
18         </tr>
19         <tr>
20                 <td class='editing_surface_content'>
22                         {if $Script_Error != ""}
23                                                 <div  class='sieve_error_msgs'>
24                                                         {$Script_Error}
25                                                 </div>
26                         {/if}
29                         {if $Mode == "Structured"}
30                                 {$Contents}
31                         {else}
32                                 <textarea class='editing_source' name='script_contents'>{$Contents}</textarea>
33                         {/if}
35                 </td>
36         </tr>
37 </table>
38 <div class='seperator' style='text-align:right; width:100%;'>
39         <input type='submit' name='save_sieve_changes' value='{msgPool type=saveButton}'>
40         &nbsp;
41     <input type='submit' name='cancel_sieve_changes' value='{msgPool type=cancelButton}'>
42 </div>