source: trunk/templates/newrevzone.tmpl@ 515

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

/trunk

Overhaul session handling; pure URL-based sessions are subject to
copy-paste session-stealing. Convert to cookie-based session tracking
instead. This also provides bonuses in terms of inlinks from other
utilities or copy-paste links.
While session-handling was in pieces, add "pick-up-where-I-left-off"
login handling so that logins don't always end up only on the initial
domain list. This is especially handy for copy-paste links.

Also clean up some of the docucomments, use the CGI::Simple object to
do 302 redirects, and bring the revzone default sort field setup into
line with other thing-lists.

File size: 1.8 KB
RevLine 
[260]1<table class="wholepage"><tr>
2<TMPL_INCLUDE NAME="menu.tmpl">
3
4<td align="center" valign="top">
5
[493]6<form action="<TMPL_VAR NAME=script_self>">
[260]7<fieldset>
8
9<input type="hidden" name="page" value="addrevzone" />
10<input type="hidden" name="newrevzone" value="yes" />
11
12<table class="container" width="450">
13<tr><td>
14 <table border="0" cellspacing="2" cellpadding="2" width="100%">
[270]15<TMPL_IF errmsg> <tr><td class="errhead" colspan="2">Error adding reverse zone <TMPL_VAR NAME=revzone>:
[260]16<TMPL_VAR NAME=errmsg></td></tr></TMPL_IF>
17 <tr class="darkrowheader"><td colspan="2" align="center">Add Reverse Zone</td></tr>
18
19 <tr class="datalinelight">
20 <td>CIDR network or reverse zone name:</td>
21 <td align="left"><input type="text" name="revzone" value="<TMPL_VAR NAME=revzone>" /></td>
22 </tr>
23 <tr class="datalinelight">
24 <td>Default reverse hostname pattern:</td>
25 <td align="left"><input type="text" name="revpatt" value="<TMPL_VAR NAME=revpatt>" /></td>
26 </tr>
27 <tr class="datalinelight">
[446]28 <td>Default location/view:</td>
29 <td align="left">
30 <select name="location">
31 <TMPL_LOOP loclist>
32 <option value="<TMPL_VAR NAME=loc>"<TMPL_IF selected> selected</TMPL_IF>><TMPL_VAR NAME=locname></option>
33 </TMPL_LOOP>
34 </select>
35 </td>
36 </tr>
37 <tr class="datalinelight">
[260]38 <td>Add reverse zone to group:</td>
39 <td><select name="group">
40<TMPL_LOOP name=grouplist> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option>
41</TMPL_LOOP>
42 </select></td>
43 </tr>
44 <tr class="datalinelight">
45 <td>Make reverse zone active on next DNS propagation</td><td><input type="checkbox" name="makeactive" checked="checked" /></td>
46 </tr>
47 <tr><td colspan="2" class="tblsubmit"><input type="submit" value="Add reverse zone" /></td></tr>
48 </table>
49 </td>
50</tr>
51</table>
52
53</fieldset>
54</form>
55
56</td></tr>
57</table>
Note: See TracBrowser for help on using the repository browser.