1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
2 | <table class="wholepage"><tr>
|
---|
3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
4 |
|
---|
5 | <td align="center">
|
---|
6 |
|
---|
7 | <form action="dns.cgi" method="post">
|
---|
8 | <fieldset>
|
---|
9 |
|
---|
10 | <input type="hidden" name="page" value="addrec" />
|
---|
11 | <input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>" />
|
---|
12 | <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
|
---|
13 | <input type="hidden" name="parentid" value="<TMPL_VAR NAME=parentid>" />
|
---|
14 |
|
---|
15 | <table class="container" width="450">
|
---|
16 | <tr><td>
|
---|
17 |
|
---|
18 | <table border="0" cellspacing="2" cellpadding="2" width="100%">
|
---|
19 | <TMPL_IF add_failed> <tr><td class="errhead" colspan="2">Error adding record: <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF>
|
---|
20 | <tr class="tableheader"><td align="center" colspan="2">Add Record to <TMPL_VAR NAME=domain></td></tr>
|
---|
21 | <tr class="datalinelight">
|
---|
22 | <td>Hostname</td>
|
---|
23 | <td><input type="text" name="name" value="<TMPL_VAR NAME=name>" /></td>
|
---|
24 | </tr>
|
---|
25 | <tr class="datalinelight">
|
---|
26 | <td>Type</td>
|
---|
27 | <td><select name="type">
|
---|
28 | <TMPL_LOOP NAME=typelist>
|
---|
29 | <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected="selected"</TMPL_IF>><TMPL_VAR NAME=recname></option>
|
---|
30 | </TMPL_LOOP>
|
---|
31 | </select></td>
|
---|
32 | </tr>
|
---|
33 | <tr class="datalinelight">
|
---|
34 | <td>Address</td>
|
---|
35 | <td><input type="text" name="address" value="<TMPL_VAR NAME=address>" /></td>
|
---|
36 | </tr>
|
---|
37 | <tr class="datalinelight">
|
---|
38 | <td>Distance (MX and SRV only)</td>
|
---|
39 | <td><input type="text" name="distance" value="<TMPL_VAR NAME=distance>" size="5" maxlength="10" /></td>
|
---|
40 | </tr>
|
---|
41 | <tr class="datalinelight">
|
---|
42 | <td>Weight (SRV only)</td>
|
---|
43 | <td><input type="text" name="weight" value="<TMPL_VAR NAME=weight>" size="5" maxlength="10" /></td>
|
---|
44 | </tr>
|
---|
45 | <tr class="datalinelight">
|
---|
46 | <td>Port (SRV only)</td>
|
---|
47 | <td><input type="text" name="port" value="<TMPL_VAR NAME=port>" size=5 maxlength="10" /></td>
|
---|
48 | </tr>
|
---|
49 | <tr class="datalinelight">
|
---|
50 | <td>TTL</td>
|
---|
51 | <td><input size="7" maxlenth="20" type="text" name="ttl" value="<TMPL_VAR NAME=ttl>" /></td>
|
---|
52 | </tr>
|
---|
53 | <tr class="datalinelight">
|
---|
54 | <td colspan="2" align="center"><input type="submit" value=" Add record "></td>
|
---|
55 | </tr>
|
---|
56 | </table>
|
---|
57 |
|
---|
58 | </td></tr>
|
---|
59 | </table>
|
---|
60 |
|
---|
61 | </fieldset>
|
---|
62 | </form>
|
---|
63 |
|
---|
64 | </td>
|
---|
65 | </tr>
|
---|
66 | </table>
|
---|
67 |
|
---|