source: trunk/templates/location.tmpl@ 782

Last change on this file since 782 was 589, checked in by Kris Deugau, 11 years ago

/trunk

Le sigh. Move a small fragment of HTML from the header back to all the
individual pages that need it, so we can selectively load and use
Javascript, and do some initial tweaking with body.onload.

File size: 1.5 KB
RevLine 
[589]1<body>
2<div id="main">
3
[374]4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
6
7<td align="center" valign="top">
8
9<TMPL_IF perm_err>
10<div class='errmsg'><TMPL_VAR NAME=perm_err></div>
11<TMPL_ELSE>
12
[493]13<form action="<TMPL_VAR NAME=script_self>" method="post">
[374]14<fieldset>
15
16<input type="hidden" name="page" value="location" />
[375]17<TMPL_IF id><input type="hidden" name="id" value="<TMPL_VAR NAME=id>" /></TMPL_IF>
[374]18<input type="hidden" name="locact" value="<TMPL_VAR NAME=locact>" />
19
20<table class="container" width="450">
21<tr><td>
22
23 <table border="0" cellspacing="2" cellpadding="2" width="100%">
24<TMPL_IF failed> <tr><td class="errhead" colspan="2">Error <TMPL_VAR NAME=wastrying> location: <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF>
25 <tr class="tableheader"><td align="center" colspan="2"><TMPL_VAR NAME=todo>: <TMPL_VAR NAME=dohere></td></tr>
26 <tr class="datalinelight">
27 <td>Location name/description</td>
[375]28 <td><input type="text" name="locname" value="<TMPL_VAR ESCAPE=HTML NAME=locname>" size="30" maxlength="40" /></td>
[374]29 </tr>
30 <tr class="datalinelight">
31 <td>IP list</td>
32 <td><input type="text" name="iplist" value="<TMPL_VAR ESCAPE=HTML NAME=iplist>" size="30" /></td>
33 </tr>
34 <tr class="datalinelight">
[375]35 <td>Comments</td>
36 <td><textarea name="comments" cols="50" rows="5"><TMPL_VAR ESCAPE=HTML NAME=comments></textarea></td>
37 </tr>
38 <tr class="datalinelight">
[374]39 <td colspan="2" align="center"><input type="submit" value=" <TMPL_VAR NAME=todo> " /></td>
40 </tr>
41 </table>
42
43</td></tr>
44</table>
45
46</fieldset>
47</form>
48
49</TMPL_IF>
50
51</td>
52</tr>
53</table>
Note: See TracBrowser for help on using the repository browser.