source: trunk/templates/editsoa.tmpl@ 288

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