source: branches/htmlform/templates/admin/alloc.tmpl@ 952

Last change on this file since 952 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.6 KB
RevLine 
[489]1<TMPL_IF errmsg>
2<TMPL_VAR NAME=errmsg>
3<TMPL_ELSE>
[487]4<form method="POST" action="admin.cgi">
[513]5<fieldset><legend class="noshow">&nbsp;</legend>
[487]6<table class="regular">
7<tr class="row0">
8<td>Allocating:</td>
9<td><TMPL_VAR NAME=cidr><input type="hidden" name="cidr" value="<TMPL_VAR NAME=cidr>"></td>
10</tr>
11<tr class="row1">
12<td>Type:</td>
13<td><TMPL_VAR NAME=disptype><input type="hidden" name="alloctype" value="<TMPL_VAR NAME=type>"></td>
14</tr>
15<tr class="row0">
16<td>Allocated from:</td>
17<td><TMPL_VAR NAME=alloc_from><input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>"></td>
18</tr>
19<tr class="row1">
20<td>Customer ID:</td>
21<td><TMPL_VAR NAME=custid><input type="hidden" name="custid" value="<TMPL_VAR NAME=custid>"></td>
22</tr>
23<tr class="row0">
24<td>Customer location:</td>
25<td>
26<select name="city"><option selected>-</option>
27<TMPL_LOOP NAME=citylist><option><TMPL_VAR NAME=city></option>
28</TMPL_LOOP></select>
[511]29&nbsp;<a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newcity.cgi')">Add new location</a>
[487]30</td>
31</tr>
32<tr class="row1">
33<td>Circuit ID:</td><td><input name="circid" size="40"></td>
34</tr>
35<tr class="row0">
36<td>Description/Name:</td><td><input name="desc" size="40"></td>
37</tr>
38<tr class="row1">
39<td>Notes:</td><td><textarea name="notes" rows="3" cols="40"></textarea></td>
40</tr>
41<tr class="warning">
42<td class="center" colspan="2">WARNING: This will IMMEDIATELY assign this block!!</td>
43</tr>
44<tr class="row1">
45<td class="center" colspan="2"><input type="submit" value=" Assign "></td>
46</tr>
47</table>
48<input type="hidden" name="action" value="confirm">
49</fieldset></form>
[489]50</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.