source: trunk/templates/log.tmpl@ 446

Last change on this file since 446 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
RevLine 
[47]1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
[2]4
[100]5<td align="center" valign="top">
[2]6
[180]7<TMPL_IF errmsg>
8<div class='errmsg'><TMPL_VAR NAME=errmsg></div>
9</TMPL_IF>
10
[60]11<table border="0" width="90%">
[323]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%">
[90]20 <!-- Not sure "Customer ID" (filled with uid) is of any use... -->
21 <!-- td>Customer ID</td -->
[323]22<tr class="darkrowheader">
[379]23<TMPL_LOOP NAME=colheads> <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=<TMPL_VAR NAME=page><TMPL_IF
[323]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
[379]27 NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR
28 NAME=sortorder>.png" /></TMPL_IF></td>
29</TMPL_LOOP>
[323]30</tr>
31
[47]32<TMPL_IF logentries>
33<TMPL_LOOP NAME=logentries>
34 <tr class="datalinelight">
35 <td><TMPL_VAR NAME=userfname></td>
[90]36 <!-- td><TMPL_VAR NAME=userid></td -->
[47]37 <td><TMPL_VAR NAME=useremail></td>
38 <td><TMPL_VAR NAME=logentry></td>
39 <td><TMPL_VAR NAME=logtime></td>
[2]40 </tr>
[47]41</TMPL_LOOP>
42<TMPL_ELSE>
43 <tr class="datalinelight">
44 <td colspan="5" align="center">No log entries found</td>
[2]45 </tr>
[47]46</TMPL_IF>
[2]47</table>
48
[47]49</td>
[2]50</tr>
51</table>
Note: See TracBrowser for help on using the repository browser.