Last change
on this file since 535 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.7 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="adddomain" />
|
---|
10 | <input type="hidden" name="newdomain" 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 add_failed> <tr><td class="errhead" colspan="2">Error adding domain <TMPL_VAR NAME=domain>: <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF>
|
---|
16 | <tr class="darkrowheader"><td colspan="2" align="center">Add Domain</td></tr>
|
---|
17 |
|
---|
18 | <tr class="datalinelight">
|
---|
19 | <td>Domain Name:</td>
|
---|
20 | <td align="left"><input type="text" name="domain" value="<TMPL_VAR NAME=domain>" /></td>
|
---|
21 | </tr>
|
---|
22 | <tr class="datalinelight">
|
---|
23 | <td>Add domain to group:</td>
|
---|
24 | <td><select name="group">
|
---|
25 | <TMPL_LOOP name=grouplist> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option>
|
---|
26 | </TMPL_LOOP>
|
---|
27 | </select></td>
|
---|
28 | </tr>
|
---|
29 | <tr class="datalinelight">
|
---|
30 | <td>Make domain active on next DNS propagation</td><td><input type="checkbox" name="makeactive"<TMPL_UNLESS addinactive> checked="checked"</TMPL_UNLESS> /></td>
|
---|
31 | </tr>
|
---|
32 | <TMPL_IF location_view><TMPL_IF record_locchg>
|
---|
33 | <tr class="datalinelight">
|
---|
34 | <td>Location/view:</td>
|
---|
35 | <td><select name="defloc">
|
---|
36 | <TMPL_LOOP name=loclist> <option value="<TMPL_VAR NAME=loc>"<TMPL_IF selected> selected="selected"</TMPL_IF>><TMPL_VAR NAME=locname></option>
|
---|
37 | </TMPL_LOOP>
|
---|
38 | </select></td>
|
---|
39 | </tr>
|
---|
40 | </TMPL_IF></TMPL_IF>
|
---|
41 | <tr><td colspan="2" class="tblsubmit"><input type="submit" value="Add domain" /></td></tr>
|
---|
42 | </table>
|
---|
43 | </td>
|
---|
44 | </tr>
|
---|
45 | </table>
|
---|
46 |
|
---|
47 | </fieldset>
|
---|
48 | </form>
|
---|
49 |
|
---|
50 | </td></tr>
|
---|
51 | </table>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.