source: trunk/templates/newdomain.tmpl@ 203

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

/trunk

Add perpage to config load
Switch SOA defaults to only pick up digits in config. Could be

updated to parse eg 1h, 2w, 30m, etc

Add group-tree open/closed pointer images to MANIFEST
Add an explicit value for makeactive on the newdomain template

to plug up a minor error log leak

File size: 1.5 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<form action="dns.cgi">
8<fieldset>
9
10<input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
11<input type="hidden" name="page" value="adddomain" />
12<input type="hidden" name="newdomain" value="yes" />
13<input type="hidden" name="makeactive" value="0" />
14
15<table class="container" width="450">
16<tr><td>
17 <table border="0" cellspacing="2" cellpadding="2" width="100%">
18<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>
19 <tr class="darkrowheader"><td colspan="2" align="center">Add Domain</td></tr>
20
21 <tr class="datalinelight">
22 <td>Domain Name:</td>
23 <td align="left"><input type="text" name="domain" value="<TMPL_VAR NAME=domain>" /></td>
24 </tr>
25 <tr class="datalinelight">
26 <td>Add domain to group:</td>
27 <td><select name="group">
28<TMPL_LOOP name=grouplist> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option>
29</TMPL_LOOP>
30 </select></td>
31 </tr>
32 <tr class="datalinelight">
33 <td>Make domain active on next DNS propagation</td><td><input type="checkbox" name="makeactive" checked="checked" /></td>
34 </tr>
35 <tr><td colspan="2" class="tblsubmit"><input type="submit" value="Add domain" /></td></tr>
36 </table>
37 </td>
38</tr>
39</table>
40
41</fieldset>
42</form>
43
44</td></tr>
45</table>
Note: See TracBrowser for help on using the repository browser.