source: branches/stable/templates/admin/emailnotice.tmpl@ 839

Last change on this file since 839 was 593, checked in by Kris Deugau, 12 years ago

/branches/stable

Merge /trunk r517 (merge /branches/htmlform)
Conflicts all resolved towards /trunk.
Fix a minor syntax error with "while (@data..." -> "while (my @data..."
(may cause merge conflicts later)

File size: 2.1 KB
RevLine 
[487]1<h4>Email notice management:</h4>
2Click the email addresses to edit that list.
3<table border=1>
4<TMPL_LOOP name=spamlist>
5<tr>
6<td><TMPL_VAR NAME=action></td>
7<td><a href="admin.cgi?action=ednotice&amp;code=<TMPL_VAR NAME=code>"><TMPL_VAR NAME=recips></a></td>
8<td><a href="admin.cgi?action=delnotice&amp;code=<TMPL_VAR NAME=code>">Delete</a></td>
9</tr>
10</TMPL_LOOP>
11<tr><td colspan=2>Known "special" codes:<br>
12<ul style="margin-top: 0px; margin-bottom: 0px;">
13 <li>swi: Notify if block being updated has SWIP flag set</li>
14</ul></td></tr>
15</table>
16
17<h4>Add new notification:</h4>
18Note: Failure notices on most conditions are not yet supported.
19
20<form action=admin.cgi method="POST">
[513]21<fieldset><legend class="noshow">&nbsp;</legend>
[487]22<input type="hidden" name="action" value="addnotice">
23<table border="1">
24<tr>
25<td>Recipients</td><td colspan="3"><textarea name="reciplist" cols="50" rows="5"></textarea></td></tr>
26<tr><td>Action</td><td>
27 <table><tr>
28 <td><input type="radio" name="msgaction" value="a">Add &nbsp;
29 <input type="radio" name="msgaction" value="u">Update &nbsp;
30 <input type="radio" name="msgaction" value="d">Delete &nbsp;
31 <input type="radio" name="msgaction" value="n">New listitem</td>
32 </tr><tr>
33 <td>
34 <input type="radio" name="msgaction" value="s:">Special: <input name="special">(requires code changes)
35 </td></tr></table>
36</td>
37<td>Failure?</td><td><input type="checkbox" name="onfail"></td></tr>
38<tr><td>Event/Allocation type:</td><td colspan="3">
39 <table>
40 <tr>
41 <td><input type="radio" name="alloctype" value="a">All allocations</td>
42 <td><input type="radio" name="alloctype" value=".i">All static IPs</td>
43 <td><input type="radio" name="alloctype" value="ci">New city</td>
44 <td><input type="radio" name="alloctype" value="no">New node</td>
45 </tr>
46 <tr>
47<TMPL_LOOP name=typelist> <td><input type="radio" name="alloctype" value="<TMPL_VAR NAME=type>"><TMPL_VAR NAME=disptype></td>
48<TMPL_UNLESS newrow> </tr>
49 <tr>
50</TMPL_UNLESS></TMPL_LOOP>
51 </tr>
52 </table>
53</tr>
54<tr><td colspan="4" align="center"><input type="submit" value="Add notice"></td></tr>
55</table>
56</fieldset>
57</form>
Note: See TracBrowser for help on using the repository browser.