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
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">
[38]6
[2]7<form action="dns.cgi">
[38]8<fieldset>
[2]9
[38]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" />
[201]13<input type="hidden" name="makeactive" value="0" />
[2]14
[38]15<table class="container" width="450">
[2]16<tr><td>
[38]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>
[2]20
[38]21 <tr class="datalinelight">
22 <td>Domain Name:</td>
23 <td align="left"><input type="text" name="domain" value="<TMPL_VAR NAME=domain>" /></td>
[2]24 </tr>
[38]25 <tr class="datalinelight">
[2]26 <td>Add domain to group:</td>
[38]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>
[2]29</TMPL_LOOP>
30 </select></td>
31 </tr>
[38]32 <tr class="datalinelight">
33 <td>Make domain active on next DNS propagation</td><td><input type="checkbox" name="makeactive" checked="checked" /></td>
[2]34 </tr>
[38]35 <tr><td colspan="2" class="tblsubmit"><input type="submit" value="Add domain" /></td></tr>
[2]36 </table>
37 </td>
38</tr>
39</table>
40
[38]41</fieldset>
[2]42</form>
43
44</td></tr>
45</table>
Note: See TracBrowser for help on using the repository browser.