source: trunk/templates/loclist.tmpl@ 589

Last change on this file since 589 was 589, checked in by Kris Deugau, 10 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.9 KB
Line 
1<body>
2<div id="main">
3
4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
6
7<td align="center" valign="top">
8
9<TMPL_INCLUDE NAME="msgblock.tmpl">
10
11<table width="98%" class="csubtable">
12<tr><th colspan="3"><div class="center maintitle">Manage locations/views</div></th></tr>
13<tr>
14<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
15<td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
16<td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
17</tr>
18<TMPL_IF addloc>
19<tr><td colspan="3" align="right"><a href="<TMPL_VAR NAME=script_self>&amp;page=location">New Location/View</a></td></tr>
20</TMPL_IF>
21</table>
22
23<table width="98%" border="0" cellspacing="4" cellpadding="3" class="csubtable">
24<tr>
25<TMPL_LOOP NAME=colheads> <td class="datahead_s"><a href="<TMPL_VAR
26 NAME=script_self>&amp;page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR
27 NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR NAME=sortby>&amp;order=<TMPL_VAR NAME=order>"><TMPL_VAR
28 NAME=colname></a><TMPL_IF NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR
29 NAME=sortorder>.png" /></TMPL_IF></td>
30</TMPL_LOOP>
31<TMPL_IF delloc> <td class="datahead_s">Delete</td></TMPL_IF>
32</tr>
33<TMPL_IF name=loctable>
34<TMPL_LOOP name=loctable>
35<tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
36 <td align="left"><TMPL_IF edloc><a href="<TMPL_VAR NAME=script_self>&amp;page=location&amp;locact=edit&amp;loc=<TMPL_VAR NAME=location>"><TMPL_VAR NAME=description></a><TMPL_ELSE><TMPL_VAR NAME=description></TMPL_IF></td>
37 <td><TMPL_VAR name=iplist></td>
38 <td><TMPL_VAR name=group_name></td>
39<TMPL_IF delloc>
40 <td align="center"><a href="<TMPL_VAR NAME=script_self>&amp;page=delloc&amp;locid=<TMPL_VAR
41NAME=location>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
42</TMPL_IF>
43</tr>
44</TMPL_LOOP>
45<TMPL_ELSE>
46<tr><td colspan="6">No locations/views defined</td></tr>
47</TMPL_IF>
48</table>
49
50</td>
51</tr>
52</table>
Note: See TracBrowser for help on using the repository browser.