2 <table style='width:100%;' cellspacing=0 cellpadding=0>
3 <tr>
4 <td style='background-color: #CCCCCC; padding:5px;'>
6 <input type='submit' name='Save_Copy' value="{t}Save copy{/t}">
7 <input type='submit' name='Import_Copy' value="{t}Import copy{/t}">
9 {if $Mode != "Source-Only"}
10 <input type='submit' name='View_Source' value="{t}View source{/t}">
11 <input type='submit' name='View_Structured' value="{t}View structured{/t}">
12 {/if}
13 </td>
14 </tr>
15 <tr>
16 <td style='background-color: #FFFFFF; border: solid 2px #CCCCCC; '>
18 {if $Script_Error != ""}
19 <table style='width:100%;' cellspacing=0 cellpadding=0>
20 <tr>
21 <td style='background-color: orange;padding:5px;'>
22 <b>{$Script_Error}</b>
23 </td>
24 </tr>
25 </table>
26 {/if}
29 {if $Mode == "Structured"}
30 {$Contents}
31 {else}
32 <textarea name='script_contents' style='width:100%;height:350px;'>{$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='{t}Save{/t}'>
40
41 <input type='submit' name='cancel_sieve_changes' value='{t}Cancel{/t}'>
42 </div>