source: trunk/templates/newrevzone.tmpl@ 560

Last change on this file since 560 was 516, checked in by Kris Deugau, 12 years ago

/trunk

Tune up location/view handling on zone add. See #10.

Domains and revzones added with a location specified will actually use
that location. Documentation note: Zones specifying a location on
creation will only be visible to that location, because the SOA record
will be created with that location. A zone should be created with no
location set if records must be visible across multiple locations, or
publicly.

File size: 1.9 KB
Line 
1<table class="wholepage"><tr>
2<TMPL_INCLUDE NAME="menu.tmpl">
3
4<td align="center" valign="top">
5
6<form action="<TMPL_VAR NAME=script_self>">
7<fieldset>
8
9<input type="hidden" name="page" value="addrevzone" />
10<input type="hidden" name="newrevzone" value="yes" />
11
12<table class="container" width="450">
13<tr><td>
14 <table border="0" cellspacing="2" cellpadding="2" width="100%">
15<TMPL_IF errmsg> <tr><td class="errhead" colspan="2">Error adding reverse zone <TMPL_VAR NAME=revzone>:
16<TMPL_VAR NAME=errmsg></td></tr></TMPL_IF>
17 <tr class="darkrowheader"><td colspan="2" align="center">Add Reverse Zone</td></tr>
18
19 <tr class="datalinelight">
20 <td>CIDR network or reverse zone name:</td>
21 <td align="left"><input type="text" name="revzone" value="<TMPL_VAR NAME=revzone>" /></td>
22 </tr>
23 <tr class="datalinelight">
24 <td>Default reverse hostname pattern:</td>
25 <td align="left"><input type="text" name="revpatt" value="<TMPL_VAR NAME=revpatt>" /></td>
26 </tr>
27 <tr class="datalinelight">
28 <td>Add reverse zone to group:</td>
29 <td><select name="group">
30<TMPL_LOOP name=grouplist> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option>
31</TMPL_LOOP>
32 </select></td>
33 </tr>
34 <tr class="datalinelight">
35 <td>Make reverse zone active on next DNS propagation</td><td><input type="checkbox" name="makeactive" checked="checked" /></td>
36 </tr>
37<TMPL_IF location_view><TMPL_IF record_locchg>
38 <tr class="datalinelight">
39 <td>Location/view:</td>
40 <td align="left">
41 <select name="location">
42 <TMPL_LOOP loclist>
43 <option value="<TMPL_VAR NAME=loc>"<TMPL_IF selected> selected="selected"</TMPL_IF>><TMPL_VAR NAME=locname></option>
44 </TMPL_LOOP>
45 </select>
46 </td>
47 </tr>
48</TMPL_IF></TMPL_IF>
49 <tr><td colspan="2" class="tblsubmit"><input type="submit" value="Add reverse zone" /></td></tr>
50 </table>
51 </td>
52</tr>
53</table>
54
55</fieldset>
56</form>
57
58</td></tr>
59</table>
Note: See TracBrowser for help on using the repository browser.