source: trunk/templates/newdomain.tmpl@ 801

Last change on this file since 801 was 589, checked in by Kris Deugau, 11 years ago

/trunk

Le sigh. Move a small fragment of HTML from the header back to all the
individual pages that need it, so we can selectively load and use
Javascript, and do some initial tweaking with body.onload.

File size: 1.7 KB
Line 
1<body>
2<div id="main">
3
4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
6
7<td align="center" valign="top">
8
9<form action="<TMPL_VAR NAME=script_self>">
10<fieldset>
11
12<input type="hidden" name="page" value="adddomain" />
13<input type="hidden" name="newdomain" value="yes" />
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"<TMPL_UNLESS addinactive> checked="checked"</TMPL_UNLESS> /></td>
34 </tr>
35<TMPL_IF location_view><TMPL_IF record_locchg>
36 <tr class="datalinelight">
37 <td>Location/view:</td>
38 <td><select name="defloc">
39<TMPL_LOOP name=loclist> <option value="<TMPL_VAR NAME=loc>"<TMPL_IF selected> selected="selected"</TMPL_IF>><TMPL_VAR NAME=locname></option>
40</TMPL_LOOP>
41 </select></td>
42 </tr>
43</TMPL_IF></TMPL_IF>
44 <tr><td colspan="2" class="tblsubmit"><input type="submit" value="Add domain" /></td></tr>
45 </table>
46 </td>
47</tr>
48</table>
49
50</fieldset>
51</form>
52
53</td></tr>
54</table>
Note: See TracBrowser for help on using the repository browser.