Code

Managed to edit script that can't be parsed ... .
[gosa.git] / include / sieve / templates / edit_frame_base.tpl
1 <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 $Mode == "Structured"}
20                                 {$Contents}
21                         {else}
22                                 <textarea name='script_contents' style='width:100%;height:350px;'>{$Contents}</textarea>
23                         {/if}
25                 </td>
26         </tr>
27 </table>
28 <div class='seperator' style='text-align:right; width:100%;'>
29         <input type='submit' name='save_sieve_changes' value='{t}Save{/t}'>
30         &nbsp;
31     <input type='submit' name='cancel_sieve_changes' value='{t}Cancel{/t}'>
32 </div>