source: trunk/templates/log.tmpl@ 422

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

/trunk

Normalize the formatting for the column-header-creator loop in the
templates. Use first instead of generating this by hand in Perl.

Also fix up whitespace to remove some newlines that showed up in odd
places in the output.

File size: 1.6 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_IF errmsg>
8<div class='errmsg'><TMPL_VAR NAME=errmsg></div>
9</TMPL_IF>
10
11<table border="0" width="90%">
12<tr><th colspan="3"><div class="center maintitle">Log entries for <TMPL_VAR NAME=logfor></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">&nbsp;</td>
17</tr>
18</table>
19<table border="0" width="90%">
20 <!-- Not sure "Customer ID" (filled with uid) is of any use... -->
21 <!-- td>Customer ID</td -->
22<tr class="darkrowheader">
23<TMPL_LOOP NAME=colheads> <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=<TMPL_VAR NAME=page><TMPL_IF
24 NAME=offset>&amp;offset=<TMPL_VAR NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR
25 NAME=sortby>&amp;order=<TMPL_VAR NAME=order>&amp;id=<TMPL_VAR NAME=id>&amp;ltype=<TMPL_VAR
26 NAME=ltype>"><TMPL_VAR NAME=colname></a><TMPL_IF
27 NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR
28 NAME=sortorder>.png" /></TMPL_IF></td>
29</TMPL_LOOP>
30</tr>
31
32<TMPL_IF logentries>
33<TMPL_LOOP NAME=logentries>
34 <tr class="datalinelight">
35 <td><TMPL_VAR NAME=userfname></td>
36 <!-- td><TMPL_VAR NAME=userid></td -->
37 <td><TMPL_VAR NAME=useremail></td>
38 <td><TMPL_VAR NAME=logentry></td>
39 <td><TMPL_VAR NAME=logtime></td>
40 </tr>
41</TMPL_LOOP>
42<TMPL_ELSE>
43 <tr class="datalinelight">
44 <td colspan="5" align="center">No log entries found</td>
45 </tr>
46</TMPL_IF>
47</table>
48
49</td>
50</tr>
51</table>
Note: See TracBrowser for help on using the repository browser.