source: trunk/templates/editsoa.tmpl@ 302

Last change on this file since 302 was 277, checked in by Kris Deugau, 13 years ago

/trunk

Checkpoint: Clean up SOA editing and extend for reverse zones.
Mostly complete; still need to finish shuffling arguments to
get logging moved into DNSDB.pm
See #26

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