Last change
on this file since 549 was 538, checked in by Kris Deugau, 12 years ago |
/trunk
Remove SQL in favour of calls to existing subs on delete confirmation
page. See #34.
Tweak template to remove a stale form variable and tighten
HTML-entities escaping on delete confirmation page. See #3.
|
File size:
1.5 KB
|
Line | |
---|
1 | <TMPL_IF webpath></TMPL_IF>
|
---|
2 | <div class="heading">Please confirm removal of:</div>
|
---|
3 | <br>
|
---|
4 |
|
---|
5 | <table class="indent" cellspacing="1" cellpadding="1">
|
---|
6 |
|
---|
7 | <tr class="row0">
|
---|
8 | <td>IP block:</td>
|
---|
9 | <td><TMPL_VAR NAME=block></td>
|
---|
10 | </tr>
|
---|
11 |
|
---|
12 | <tr class="row1">
|
---|
13 | <td>City:</td>
|
---|
14 | <td><TMPL_VAR NAME=city></td>
|
---|
15 | </tr>
|
---|
16 |
|
---|
17 | <tr class="row0">
|
---|
18 | <td>Type:</td>
|
---|
19 | <td><TMPL_VAR NAME=disptype></td>
|
---|
20 | </tr>
|
---|
21 |
|
---|
22 | <tr class="row1">
|
---|
23 | <td>Customer ID:</td>
|
---|
24 | <td><TMPL_VAR NAME=custid></td>
|
---|
25 | </tr>
|
---|
26 |
|
---|
27 | <tr class="row0">
|
---|
28 | <td>Circuit ID:</td>
|
---|
29 | <td><TMPL_VAR ESCAPE=HTML NAME=circid></td>
|
---|
30 | </tr>
|
---|
31 |
|
---|
32 | <tr class="row1">
|
---|
33 | <td valign="top">Description/Name:</td>
|
---|
34 | <td><TMPL_VAR ESCAPE=HTML NAME=desc></td>
|
---|
35 | </tr>
|
---|
36 |
|
---|
37 | <tr class="row0">
|
---|
38 | <td valign="top">Notes:</td>
|
---|
39 | <td><TMPL_VAR NAME=notes></td>
|
---|
40 | </tr>
|
---|
41 |
|
---|
42 | <TMPL_IF privdata>
|
---|
43 | <tr class="row1">
|
---|
44 | <td valign="top">Restricted data:</td>
|
---|
45 | <td><TMPL_VAR NAME=privdata></td>
|
---|
46 | </tr>
|
---|
47 | </TMPL_IF>
|
---|
48 |
|
---|
49 | <tr class="warning">
|
---|
50 | <td colspan="2">
|
---|
51 | Warning: clicking confirm will remove this record entirely.
|
---|
52 | <TMPL_IF delpool><br>Any IPs allocated from this pool will also be removed!</TMPL_IF>
|
---|
53 | </td>
|
---|
54 | </tr>
|
---|
55 |
|
---|
56 | <tr class="row<TMPL_IF privdata>0<TMPL_ELSE>1</TMPL_IF>">
|
---|
57 | <td class="center" colspan="2">
|
---|
58 | <form action="main.cgi" method="POST" class="regular">
|
---|
59 | <fieldset><legend class="noshow"> </legend>
|
---|
60 | <input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm">
|
---|
61 | <input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
|
---|
62 | <input type="hidden" name="alloctype" value="<TMPL_VAR NAME=type>">
|
---|
63 | <input type="hidden" name="action" value="finaldelete">
|
---|
64 | </fieldset>
|
---|
65 | </form>
|
---|
66 | </td>
|
---|
67 | </tr>
|
---|
68 |
|
---|
69 | </table>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.