source: branches/htmlform/templates/admin/listcust.tmpl@ 951

Last change on this file since 951 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: 754 bytes
Line 
1Add new entry:
2<form action="admin.cgi" method="POST">
3<fieldset><legend class="noshow">&nbsp;</legend>
4<input type="hidden" name="action" value="edcust">
5<input type="hidden" name="newcust" value="1">
6<table border="1">
7<tr>
8<td>CustID:</td><td><input name="custid"></td>
9<td align="center"><input type="submit" value="Go to edit page for this custid"></td>
10</tr>
11</table>
12</fieldset></form>
13
14<p>Click CustID to edit existing customer contact data:
15<table border="1">
16<tr><td>CustID</td><td>Name</td><td>Tech handle</td></tr>
17<TMPL_LOOP NAME=custlist>
18<tr>
19<td><a href="admin.cgi?action=edcust&amp;custid=<TMPL_VAR NAME=custid>"><TMPL_VAR NAME=custid></a></td>
20<td><TMPL_VAR NAME=custname></td>
21<td><TMPL_VAR NAME=tech></td>
22</tr>
23</TMPL_LOOP>
24</table>
Note: See TracBrowser for help on using the repository browser.