source: branches/htmlform/templates/admin/showallocs.tmpl@ 640

Last change on this file since 640 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: 965 bytes
Line 
1Edit custID, allocation type, city for allocations in <TMPL_VAR NAME=within>:
2<table border="1">
3<TMPL_LOOP name=blocklist>
4<tr>
5<form action="admin.cgi" method="POST">
6<fieldset><legend class="noshow">&nbsp;</legend>
7<input type="hidden" name="action" value="update">
8<td><TMPL_VAR NAME=cidr><input type="hidden" value="<TMPL_VAR NAME=cidr>" name=block></td>
9<td><input name="custid" value="<TMPL_VAR NAME=custid>"></td>
10<td>
11 <select name="alloctype">
12<TMPL_LOOP name=typelist> <option value="<TMPL_VAR NAME=type>"<TMPL_IF selected> selected</TMPL_IF>><TMPL_VAR NAME=dispname></option>
13</TMPL_LOOP> </select>
14</td>
15<td><input name="city" value="<TMPL_VAR NAME=city>"></td>
16<td><TMPL_VAR NAME=desc></td>
17<td><input type="submit" value="Update"></td>
18</fieldset></form>
19</tr>
20</TMPL_LOOP>
21</table>
22<hr>
23<b>Notes:</b>
24<ul>
25 <li>Use the main interface to update description and notes fields.
26 <li>Changing the allocation type here will NOT affect IP pool data.
27</ul>
Note: See TracBrowser for help on using the repository browser.