Changeset 38 for trunk/templates/newrec.tmpl
- Timestamp:
- 11/20/09 17:32:04 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/newrec.tmpl
r2 r38 5 5 <td align="center"> 6 6 7 <TMPL_IF add_failed><span class="errmsg">Error adding record: <TMPL_VARNAME=errmsg></span></TMPL_IF> 8 <form action="dns.cgi"> 9 <input type="hidden" name="page" value="addrec"> 10 <input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>"> 11 <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>"> 12 <input type="hidden" name="parentid" value="<TMPL_VAR NAME=parentid>"> 7 <form action="dns.cgi" method="post"> 8 <fieldset> 13 9 14 <table border=0 bgcolor="white"> 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>" /> 15 14 15 <table class="container" width="450"> 16 16 <tr><td> 17 17 18 <table border=0 width="100%"> 19 <tr class="tableheader"><td align="center" colspan=2>Add Record to <TMPL_VAR NAME=domain></td></tr> 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> 20 21 <tr class="datalinelight"> 21 22 <td>Hostname</td> 22 <td><input type="text" name="name" value="<TMPL_VAR NAME=name>" ></td>23 <td><input type="text" name="name" value="<TMPL_VAR NAME=name>" /></td> 23 24 </tr> 24 25 <tr class="datalinelight"> … … 26 27 <td><select name="type"> 27 28 <TMPL_LOOP NAME=typelist> 28 <option value="<TMPL_VAR NAME=recval>" <TMPL_IF NAME=tselect>selected</TMPL_IF>><TMPL_VAR NAME=recname></option>29 <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected="selected"</TMPL_IF>><TMPL_VAR NAME=recname></option> 29 30 </TMPL_LOOP> 30 31 </select></td> … … 32 33 <tr class="datalinelight"> 33 34 <td>Address</td> 34 <td><input type="text" name="address" value="<TMPL_VAR NAME=address>" ></td>35 <td><input type="text" name="address" value="<TMPL_VAR NAME=address>" /></td> 35 36 </tr> 36 37 <tr class="datalinelight"> 37 38 <td>Distance (MX and SRV only)</td> 38 <td><input type="text" name="distance" value="<TMPL_VAR NAME=distance>" size= 5 maxlength=10></td>39 <td><input type="text" name="distance" value="<TMPL_VAR NAME=distance>" size="5" maxlength="10" /></td> 39 40 </tr> 40 41 <tr class="datalinelight"> 41 42 <td>Weight (SRV only)</td> 42 <td><input type="text" name="weight" value="<TMPL_VAR NAME=weight>" size= 5 maxlength=10></td>43 <td><input type="text" name="weight" value="<TMPL_VAR NAME=weight>" size="5" maxlength="10" /></td> 43 44 </tr> 44 45 <tr class="datalinelight"> 45 46 <td>Port (SRV only)</td> 46 <td><input type="text" name="port" value="<TMPL_VAR NAME=port>" size=5 maxlength= 10></td>47 <td><input type="text" name="port" value="<TMPL_VAR NAME=port>" size=5 maxlength="10" /></td> 47 48 </tr> 48 49 <tr class="datalinelight"> 49 50 <td>TTL</td> 50 <td><input size= 7 maxlenth=20 type="text" name="ttl" value="<TMPL_VAR NAME=ttl>">51 <td><input size="7" maxlenth="20" type="text" name="ttl" value="<TMPL_VAR NAME=ttl>" /></td> 51 52 </tr> 52 53 <tr class="datalinelight"> 53 <td colspan= 2 align=center><input type="submit" value=" Add record "></td>54 <td colspan="2" align="center"><input type="submit" value=" Add record "></td> 54 55 </tr> 55 56 </table> … … 58 59 </table> 59 60 61 </fieldset> 60 62 </form> 61 63 64 </td> 65 </tr> 66 </table> 62 67 63 </td></tr></table>64
Note:
See TracChangeset
for help on using the changeset viewer.