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