[649] | 1 | <body>
|
---|
| 2 | <div id="main">
|
---|
| 3 |
|
---|
[14] | 4 | <table class="wholepage"><tr>
|
---|
| 5 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
| 6 |
|
---|
[100] | 7 | <td align="center" valign="top">
|
---|
[14] | 8 |
|
---|
[155] | 9 | <TMPL_IF perm_err>
|
---|
| 10 | <div class='errmsg'><TMPL_VAR NAME=perm_err></div>
|
---|
| 11 | <TMPL_ELSE>
|
---|
| 12 |
|
---|
[548] | 13 | <form action="<TMPL_VAR NAME=script_self>" method="post">
|
---|
[38] | 14 | <fieldset>
|
---|
[14] | 15 |
|
---|
[38] | 16 | <input type="hidden" name="page" value="record" />
|
---|
| 17 | <input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>" />
|
---|
[544] | 18 | <input type="hidden" name="revrec" value="<TMPL_VAR NAME=revrec>" />
|
---|
[38] | 19 | <input type="hidden" name="parentid" value="<TMPL_VAR NAME=parentid>" />
|
---|
| 20 | <input type="hidden" name="id" value="<TMPL_VAR NAME=id>" />
|
---|
| 21 | <input type="hidden" name="recact" value="<TMPL_VAR NAME=recact>" />
|
---|
| 22 |
|
---|
[548] | 23 | <table class="container" width="520">
|
---|
[14] | 24 | <tr><td>
|
---|
| 25 |
|
---|
[38] | 26 | <table border="0" cellspacing="2" cellpadding="2" width="100%">
|
---|
[544] | 27 | <TMPL_IF failed> <tr><td class="errhead" colspan="2">Error <TMPL_VAR NAME=wastrying> record: <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF>
|
---|
[649] | 28 | <tr class="tableheader"><td align="center" colspan="2"><TMPL_VAR NAME=todo> in <TMPL_VAR NAME=dohere></td></tr>
|
---|
[14] | 29 | <tr class="datalinelight">
|
---|
[544] | 30 | <TMPL_IF fwdzone>
|
---|
[14] | 31 | <td>Hostname</td>
|
---|
[548] | 32 | <td><input type="text" name="name" value="<TMPL_VAR NAME=name>" size="30" /> <a href="reverse-patterns.html">?</a></td>
|
---|
[544] | 33 | <TMPL_ELSE>
|
---|
| 34 | <td>IP Address</td>
|
---|
[545] | 35 | <td><input type="text" name="address" value="<TMPL_VAR ESCAPE=HTML NAME=address>" size="30" /></td>
|
---|
[544] | 36 | </TMPL_IF>
|
---|
[14] | 37 | </tr>
|
---|
| 38 | <tr class="datalinelight">
|
---|
| 39 | <td>Type</td>
|
---|
| 40 | <td><select name="type">
|
---|
[90] | 41 | <TMPL_LOOP NAME=typelist>
|
---|
[38] | 42 | <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected="selected"</TMPL_IF>><TMPL_VAR NAME=recname></option>
|
---|
[90] | 43 | </TMPL_LOOP>
|
---|
[14] | 44 | </select></td>
|
---|
| 45 | </tr>
|
---|
| 46 | <tr class="datalinelight">
|
---|
[544] | 47 | <TMPL_IF fwdzone>
|
---|
[14] | 48 | <td>Address</td>
|
---|
[545] | 49 | <td><input type="text" name="address" value="<TMPL_VAR ESCAPE=HTML NAME=address>" size="30" /></td>
|
---|
[544] | 50 | <TMPL_ELSE>
|
---|
| 51 | <td>Hostname</td>
|
---|
[548] | 52 | <td><input type="text" name="name" value="<TMPL_VAR NAME=name>" size="30" /> <a href="reverse-patterns.html">?</a></td>
|
---|
[544] | 53 | </TMPL_IF>
|
---|
[14] | 54 | </tr>
|
---|
[544] | 55 | <TMPL_IF fwdzone>
|
---|
[14] | 56 | <tr class="datalinelight">
|
---|
| 57 | <td>Distance (MX and SRV only)</td>
|
---|
[38] | 58 | <td><input type="text" name="distance" value="<TMPL_VAR NAME=distance>" size="5" maxlength="10" /></td>
|
---|
[14] | 59 | </tr>
|
---|
| 60 | <tr class="datalinelight">
|
---|
| 61 | <td>Weight (SRV only)</td>
|
---|
[38] | 62 | <td><input type="text" name="weight" value="<TMPL_VAR NAME=weight>" size="5" maxlength="10" /></td>
|
---|
[14] | 63 | </tr>
|
---|
| 64 | <tr class="datalinelight">
|
---|
| 65 | <td>Port (SRV only)</td>
|
---|
[38] | 66 | <td><input type="text" name="port" value="<TMPL_VAR NAME=port>" size="5" maxlength="10" /></td>
|
---|
[14] | 67 | </tr>
|
---|
[544] | 68 | </TMPL_IF>
|
---|
[14] | 69 | <tr class="datalinelight">
|
---|
| 70 | <td>TTL</td>
|
---|
[38] | 71 | <td><input size="7" maxlength="20" type="text" name="ttl" value="<TMPL_VAR NAME=ttl>" /></td>
|
---|
[14] | 72 | </tr>
|
---|
[545] | 73 | <TMPL_IF location_view>
|
---|
[14] | 74 | <tr class="datalinelight">
|
---|
[545] | 75 | <td>Location/view</td>
|
---|
| 76 | <TMPL_IF record_locchg>
|
---|
| 77 | <td><select name="location">
|
---|
| 78 | <TMPL_LOOP name=loclist> <option value="<TMPL_VAR NAME=loc>"<TMPL_IF selected> selected="selected"</TMPL_IF>><TMPL_VAR NAME=locname></option>
|
---|
| 79 | </TMPL_LOOP>
|
---|
| 80 | </select></td>
|
---|
| 81 | <TMPL_ELSE>
|
---|
| 82 | <td><TMPL_VAR NAME=loc_name></td>
|
---|
| 83 | </TMPL_IF>
|
---|
| 84 | </tr>
|
---|
| 85 | </TMPL_IF>
|
---|
[548] | 86 | <TMPL_UNLESS is_default>
|
---|
[545] | 87 | <tr class="datalinelight">
|
---|
[548] | 88 | <td>Timestamp<br />(blank or 0 disables timestamp)</td>
|
---|
[649] | 89 | <td>Valid <input type="radio" name="expires" value="until"<TMPL_IF stamp_until> checked="checked"</TMPL_IF> />until
|
---|
| 90 | <input type="radio" name="expires" value="after"<TMPL_UNLESS stamp_until> checked="checked"</TMPL_UNLESS> />after:
|
---|
[548] | 91 | <input type="text" name="stamp" value="<TMPL_VAR NAME=stamp>" />
|
---|
| 92 | </td>
|
---|
| 93 | </tr>
|
---|
| 94 | </TMPL_UNLESS>
|
---|
| 95 | <tr class="datalinelight">
|
---|
[87] | 96 | <td colspan="2" align="center"><input type="submit" value=" <TMPL_VAR NAME=todo> " /></td>
|
---|
[14] | 97 | </tr>
|
---|
| 98 | </table>
|
---|
| 99 |
|
---|
| 100 | </td></tr>
|
---|
| 101 | </table>
|
---|
| 102 |
|
---|
[38] | 103 | </fieldset>
|
---|
[155] | 104 | </form>
|
---|
| 105 |
|
---|
| 106 | </TMPL_IF>
|
---|
[14] | 107 |
|
---|
[38] | 108 | </td>
|
---|
| 109 | </tr>
|
---|
| 110 | </table>
|
---|