source: trunk/templates/editsoa.tmpl@ 521

Last change on this file since 521 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: 2.3 KB
Line 
1<table class="wholepage"><tr>
2<TMPL_INCLUDE NAME="menu.tmpl">
3
4<td align="center" valign="top">
5
6<TMPL_IF update_failed><div class="errmsg">Error updating SOA record: <TMPL_VAR NAME=msg></div></TMPL_IF>
7
8<div>Edit SOA</div>
9
10<div id="tableholder">
11
12<form action="<TMPL_VAR NAME=script_self>" method="post">
13<fieldset>
14<input type="hidden" name="page" value="updatesoa" />
15<input type="hidden" name="id" value="<TMPL_VAR NAME=id>" />
16<input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>" />
17<input type="hidden" name="revrec" value="<TMPL_VAR NAME=revrec>" />
18
19<table border="0" cellspacing="2" cellpadding="1" width="100%">
20<tr class="darkrowheader">
21 <td colspan="2" class="title"><TMPL_IF NAME=isgrp>Edit default SOA record for group <TMPL_ELSE>Edit SOA record for </TMPL_IF><TMPL_VAR NAME=parent></td>
22 <td class="title">System defaults:</td>
23</tr>
24<tr class="datalinelight">
25 <td class="inputlabel">Primary Name Server</td>
26 <td><input name="prins" value="<TMPL_VAR NAME=prins>" /></td>
27 <td class="data"><TMPL_VAR NAME=defns></td>
28</tr>
29<tr class="datalinelight">
30 <td class="inputlabel">Contact Address</td>
31 <td><input name="contact" value="<TMPL_VAR NAME=contact>" /></td>
32 <td class="data"><TMPL_VAR NAME=defcontact></td>
33</tr>
34<tr class="datalinelight">
35 <td class="inputlabel">SOA TTL</td>
36 <td><input name="ttl" value="<TMPL_VAR NAME=ttl>" /></td>
37 <td class="data"><TMPL_VAR NAME=defsoattl></td>
38</tr>
39<tr class="datalinelight">
40 <td class="inputlabel">Refresh</td>
41 <td><input name="refresh" value="<TMPL_VAR NAME=refresh>" /></td>
42 <td class="data"><TMPL_VAR NAME=defrefresh></td>
43</tr>
44<tr class="datalinelight">
45 <td class="inputlabel">Retry</td>
46 <td><input name="retry" value="<TMPL_VAR NAME=retry>" /></td>
47 <td class="data"><TMPL_VAR NAME=defretry></td>
48</tr>
49<tr class="datalinelight">
50 <td class="inputlabel">Expire</td>
51 <td><input name="expire" value="<TMPL_VAR NAME=expire>" /></td>
52 <td class="data"><TMPL_VAR NAME=defexpire></td>
53</tr>
54<tr class="datalinelight">
55 <td class="inputlabel">Minimum TTL</td>
56 <td><input name="minttl" value="<TMPL_VAR NAME=minttl>" /></td>
57 <td class="data"><TMPL_VAR NAME=defminttl></td>
58</tr>
59<tr class="datalinelight">
60 <td colspan="3" align="center"><input type="submit" value=" Update record " /></td>
61</tr>
62</table>
63
64</fieldset>
65</form>
66
67</div>
68
69</td>
70</tr>
71</table>
72
Note: See TracBrowser for help on using the repository browser.