source: trunk/templates/editsoa.tmpl@ 506

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