Last change
on this file since 527 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
|
Rev | Line | |
---|
[2] | 1 | <table class="wholepage"><tr>
|
---|
| 2 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
| 3 |
|
---|
[100] | 4 | <td align="center" valign="top">
|
---|
[38] | 5 |
|
---|
[493] | 6 | <form action="<TMPL_VAR NAME=script_self>">
|
---|
[38] | 7 | <fieldset>
|
---|
[2] | 8 |
|
---|
[38] | 9 | <input type="hidden" name="page" value="adddomain" />
|
---|
| 10 | <input type="hidden" name="newdomain" value="yes" />
|
---|
[2] | 11 |
|
---|
[38] | 12 | <table class="container" width="450">
|
---|
[2] | 13 | <tr><td>
|
---|
[38] | 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>
|
---|
[2] | 17 |
|
---|
[38] | 18 | <tr class="datalinelight">
|
---|
| 19 | <td>Domain Name:</td>
|
---|
| 20 | <td align="left"><input type="text" name="domain" value="<TMPL_VAR NAME=domain>" /></td>
|
---|
[2] | 21 | </tr>
|
---|
[38] | 22 | <tr class="datalinelight">
|
---|
[2] | 23 | <td>Add domain to group:</td>
|
---|
[38] | 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>
|
---|
[2] | 26 | </TMPL_LOOP>
|
---|
| 27 | </select></td>
|
---|
| 28 | </tr>
|
---|
[38] | 29 | <tr class="datalinelight">
|
---|
[310] | 30 | <td>Make domain active on next DNS propagation</td><td><input type="checkbox" name="makeactive"<TMPL_UNLESS addinactive> checked="checked"</TMPL_UNLESS> /></td>
|
---|
[2] | 31 | </tr>
|
---|
[435] | 32 | <TMPL_IF location_view><TMPL_IF record_locchg>
|
---|
[383] | 33 | <tr class="datalinelight">
|
---|
[516] | 34 | <td>Location/view:</td>
|
---|
[383] | 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>
|
---|
[435] | 40 | </TMPL_IF></TMPL_IF>
|
---|
[38] | 41 | <tr><td colspan="2" class="tblsubmit"><input type="submit" value="Add domain" /></td></tr>
|
---|
[2] | 42 | </table>
|
---|
| 43 | </td>
|
---|
| 44 | </tr>
|
---|
| 45 | </table>
|
---|
| 46 |
|
---|
[38] | 47 | </fieldset>
|
---|
[2] | 48 | </form>
|
---|
| 49 |
|
---|
| 50 | </td></tr>
|
---|
| 51 | </table>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.