source: trunk/templates/editsoa.tmpl@ 451

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

/trunk

Move SQL for SOA update to DNSDB.pm (see #1)
Clean up support for reverse zones (see #26)
Move action logging for SOA updates to DNSDB.pm (see #35)

Includes log/info message consistency cleanups, dropping stale
commented code, dropping if(0)'ed code, tweaks to fillsoa() to
retain user changes on errors, updates to getSOA() for consistency,
removal of a stale form input

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="defrec" value="<TMPL_VAR NAME=defrec>" />
19<input type="hidden" name="revrec" value="<TMPL_VAR NAME=revrec>" />
20
21<table border="0" cellspacing="2" cellpadding="1" width="100%">
22<tr class="darkrowheader">
23 <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>
24 <td class="title">System defaults:</td>
25</tr>
26<tr class="datalinelight">
27 <td class="inputlabel">Primary Name Server</td>
28 <td><input name="prins" value="<TMPL_VAR NAME=prins>" /></td>
29 <td class="data"><TMPL_VAR NAME=defns></td>
30</tr>
31<tr class="datalinelight">
32 <td class="inputlabel">Contact Address</td>
33 <td><input name="contact" value="<TMPL_VAR NAME=contact>" /></td>
34 <td class="data"><TMPL_VAR NAME=defcontact></td>
35</tr>
36<tr class="datalinelight">
37 <td class="inputlabel">SOA TTL</td>
38 <td><input name="ttl" value="<TMPL_VAR NAME=ttl>" /></td>
39 <td class="data"><TMPL_VAR NAME=defsoattl></td>
40</tr>
41<tr class="datalinelight">
42 <td class="inputlabel">Refresh</td>
43 <td><input name="refresh" value="<TMPL_VAR NAME=refresh>" /></td>
44 <td class="data"><TMPL_VAR NAME=defrefresh></td>
45</tr>
46<tr class="datalinelight">
47 <td class="inputlabel">Retry</td>
48 <td><input name="retry" value="<TMPL_VAR NAME=retry>" /></td>
49 <td class="data"><TMPL_VAR NAME=defretry></td>
50</tr>
51<tr class="datalinelight">
52 <td class="inputlabel">Expire</td>
53 <td><input name="expire" value="<TMPL_VAR NAME=expire>" /></td>
54 <td class="data"><TMPL_VAR NAME=defexpire></td>
55</tr>
56<tr class="datalinelight">
57 <td class="inputlabel">Minimum TTL</td>
58 <td><input name="minttl" value="<TMPL_VAR NAME=minttl>" /></td>
59 <td class="data"><TMPL_VAR NAME=defminttl></td>
60</tr>
61<tr class="datalinelight">
62 <td colspan="3" align="center"><input type="submit" value=" Update record " /></td>
63</tr>
64</table>
65
66</fieldset>
67</form>
68
69</div>
70
71</td>
72</tr>
73</table>
74
Note: See TracBrowser for help on using the repository browser.