source: trunk/templates/loclist.tmpl@ 378

Last change on this file since 378 was 378, checked in by Kris Deugau, 12 years ago

/trunk

Factor out the template side of the result/warning/error messages
into a separate include file. Probably should have been done and
committed with the rest of r376.

File size: 1.9 KB
Line 
1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td align="center" valign="top">
6
7<TMPL_INCLUDE NAME="msgblock.tmpl">
8
9<table width="98%" class="csubtable">
10<tr><th colspan="3"><div class="center maintitle">Manage locations/views</div></th></tr>
11<tr>
12<td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
13<td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
14<td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
15</tr>
16<TMPL_IF addloc>
17<tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=location">New Location/View</a></td></tr>
18</TMPL_IF>
19</table>
20
21<table width="98%" border="0" cellspacing="4" cellpadding="3" class="csubtable">
22<tr>
23<TMPL_LOOP NAME=colheads>
24 <td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR NAME=sortby>&amp;order=<TMPL_VAR NAME=order>"><TMPL_VAR NAME=colname></a><TMPL_IF NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td></TMPL_LOOP>
25<TMPL_IF delloc> <td class="datahead_s">Delete</td></TMPL_IF>
26</tr>
27<TMPL_IF name=loctable>
28<TMPL_LOOP name=loctable>
29<tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
30 <td align="left"><TMPL_IF edloc><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&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>
31 <td><TMPL_VAR name=iplist></td>
32 <td><TMPL_VAR name=group_name></td>
33<TMPL_IF delloc>
34 <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=delloc&amp;id=<TMPL_VAR
35NAME=loc>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
36</TMPL_IF>
37</tr>
38</TMPL_LOOP>
39<TMPL_ELSE>
40<tr><td colspan="6">No locations/views defined</td></tr>
41</TMPL_IF>
42</table>
43
44</td>
45</tr>
46</table>
Note: See TracBrowser for help on using the repository browser.