all ImportantMessage deliveries are now done through trailing.html
[citadel.git] / webcit / static / t / sieve / add.html
1 <?=("head")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
2
3 <div id="banner">
4         <img src="static/webcit_icons/essen/32x32/config.png">
5         <h1><?_("Add or delete scripts")></h1>
6 </div>
7         
8 <div id="content" class="service">
9         <?SIEVE:MESSAGE>
10
11         <table border=0 cellspacing=10><tr valign=top><td>
12                 <?=("box_begin_1")><?_("Add a new script")><?=("box_begin_2")>
13                         <?_("To create a new script, enter the desired script name in the box below and click 'Create'.")>
14                         <br><br>
15                         <center><form method="POST" action="create_script">
16                                 <input type="hidden" name="nonce" value="<?NONCE>">
17                                 <?_("Script name: ")>
18                                 <input type="text" name="script_name"><br>
19                                 <input type="submit" name="create_button" value='<?_("Create")>'></form></center>
20                 <?=("box_end")>
21                 <?=("box_begin_1")><?_("Edit scripts")><?=("box_begin_2")>
22                         <br><div align="center">
23                         <a href="do_template?template=sieve_list"><?_("Return to the script editing screen")></a><br><br>
24                 <?=("box_end")>
25         </td><td>
26                 <?=("box_begin_1")><?_("Delete scripts")><?=("box_begin_2")>
27                         <?_("To delete an existing script, select the script name from the list and click 'Delete'.")>
28                         <br><br>
29                         <center><form method="POST" action="delete_script">
30                         <input type="hidden" name="nonce" value="<?NONCE>">
31                         <select name="script_name" size=10 style="width:100%%">
32                                 <?ITERATE("SIEVE:SCRIPTS", ="sieve_script_select")>
33                         </select>
34                         <input type="submit" name="delete_button" value='<?_("Delete")>'></form>
35                         </form>
36                 <?=("box_end")>
37         <td>
38         </tr>
39         </table>
40 </div> <!-- end of 'content' div -->
41 <?=("trailing")>
42