source: branches/htmlform/templates/nodesearch.tmpl@ 534

Last change on this file since 534 was 513, checked in by Kris Deugau, 12 years ago

/branches/htmlform

Finally dug up a least-nasty way to effectively get rid of the
useless <legend> tag (required in a <fieldset>, in turn required
in a <form>, if you want to be valid HTML 4.01 Strict).
See #3.

File size: 836 bytes
Line 
1<div class="indent">
2<TMPL_IF errmsg>
3Failed to retrieve node list: <TMPL_VAR NAME=errmsg>
4<TMPL_ELSE>
5<div class="heading">Switch/tower search</div>
6<form action="<TMPL_VAR NAME=webpath>/cgi-bin/search.cgi" method=POST>
7<fieldset><legend class="noshow">&nbsp;</legend>
8<table cellspacing="1" cellpadding="2">
9<tr class="row0">
10<td>Find customers connected through:</td>
11<td><select name="node">
12 <option>--</option>
13<TMPL_LOOP NAME=nodelist> <option value="<TMPL_VAR NAME=nodeid>"><TMPL_VAR NAME=nodename></option>
14</TMPL_LOOP>
15</select></td>
16</tr>
17
18<tr class="row1">
19<td colspan="2" align="center"><input type="submit" value="Find customers"></td>
20</tr>
21</table>
22<input type="hidden" name="stype" value="n">
23<input type="hidden" name="page" value="1">
24<input type="hidden" name="rpp" value="50">
25</fieldset>
26</form>
27</TMPL_IF>
28</div>
Note: See TracBrowser for help on using the repository browser.