Last change
on this file since 750 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:
1.3 KB
|
Line | |
---|
1 | Listing pool <TMPL_VAR NAME=pool>:
|
---|
2 | <form action="admin.cgi" method="POST">
|
---|
3 | <fieldset><legend class="noshow"> </legend>
|
---|
4 | <input type="hidden" name="action" value="updatepool">
|
---|
5 | <table border="1">
|
---|
6 | <tr><td align="right">Customer ID:</td><td><input name="custid"></td></tr>
|
---|
7 | <tr><td align="right">Customer location:</td><td><input name="city"></td></tr>
|
---|
8 | <tr><td align="right">Type:</td><td><select name="type"><option selected>-</option>
|
---|
9 | <TMPL_LOOP name=typelist><option value="<TMPL_VAR NAME=type>"><TMPL_VAR NAME=dispname></option>
|
---|
10 | </TMPL_LOOP>
|
---|
11 | </select></td></tr>
|
---|
12 | <tr><td align="right">Available?</td><td><input type="checkbox" value="y"></td></tr>
|
---|
13 | <tr><td align="right">Description/name:</td><td><input name="desc" size="40"></td></tr>
|
---|
14 | <tr><td align="right">Notes:</td><td><textarea name="notes" rows="3" cols="40"></textarea></td></tr>
|
---|
15 | <tr><td colspan=2 align=center><input type=submit value="Update"></td></tr>
|
---|
16 | </table>
|
---|
17 | Update the following record:
|
---|
18 | <table border=1>
|
---|
19 | <TMPL_LOOP NAME=iplist>
|
---|
20 | <tr><td><input type="radio" name="ip" value="<TMPL_VAR NAME=ip>"><TMPL_VAR NAME=ip></td>
|
---|
21 | <td><TMPL_VAR NAME=custid></td><td><TMPL_VAR NAME=city></td><td><TMPL_VAR NAME=type></td>
|
---|
22 | <td><TMPL_VAR NAME=avail></td><td><TMPL_VAR NAME=desc></td><td><TMPL_VAR NAME=notes></td></tr>
|
---|
23 | </TMPL_LOOP>
|
---|
24 | </table>
|
---|
25 | </fieldset></form>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.