| [487] | 1 | <h4>Email notice management:</h4> | 
|---|
|  | 2 | Click 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&code=<TMPL_VAR NAME=code>"><TMPL_VAR NAME=recips></a></td> | 
|---|
|  | 8 | <td><a href="admin.cgi?action=delnotice&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> | 
|---|
|  | 18 | Note:  Failure notices on most conditions are not yet supported. | 
|---|
|  | 19 |  | 
|---|
|  | 20 | <form action=admin.cgi method="POST"> | 
|---|
|  | 21 | <fieldset><legend></legend> | 
|---|
|  | 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   | 
|---|
|  | 29 | <input type="radio" name="msgaction" value="u">Update   | 
|---|
|  | 30 | <input type="radio" name="msgaction" value="d">Delete   | 
|---|
|  | 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> | 
|---|