* Make RecentChanges use a table and some CSS, should be much more readable.
[ikiwiki] / templates / recentchanges.tmpl
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html>
4 <head>
5 <TMPL_IF NAME="BASEURL">
6 <base href="<TMPL_VAR BASEURL>" />
7 </TMPL_IF>
8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9 <title><TMPL_VAR TITLE></title>
10 <link rel="stylesheet" href="<TMPL_VAR STYLEURL>" type="text/css" />
11 </head>
12 <body>
13
14 <div class="header">
15 <span>
16 <TMPL_VAR INDEXLINK>/ <TMPL_VAR TITLE>
17 </span>
18 </div>
19
20 <div id="content">
21 <br />
22 <table border="1" frame="border" rules="groups">
23 <thead>
24         <tr class="changeheader">
25                 <th align="left">user</th>
26                 <th align="left">time</th>
27                 <th align="left">changes</th>
28         </tr>
29 </thead>
30 <TMPL_LOOP NAME="CHANGELOG">
31 <tbody>
32         <!-- <TMPL_VAR NAME="REV"> -->
33         <!-- <TMPL_VAR NAME="COMMITTYPE"> -->
34         <tr class="changeheader">
35                 <td><TMPL_VAR NAME="USER"></td>
36                 <td class="changetime"><TMPL_VAR NAME="WHEN"></td>
37                 <td>
38                 <TMPL_LOOP NAME="PAGES">
39                         <TMPL_IF NAME="DIFFURL">
40                                 <a href="<TMPL_VAR NAME="DIFFURL">">
41                                 <img alt="diff" src="wikiicons/diff.png" style="border-style: none" />
42                                 </a>
43                                 <TMPL_VAR NAME="LINK">
44                         <TMPL_ELSE>
45                                 <TMPL_VAR NAME="LINK">
46                         </TMPL_IF>
47                 </TMPL_LOOP>
48                 </td>
49         </tr>
50         <tr>
51                 <td colspan="3">
52                         <i>
53                         <TMPL_LOOP NAME="MESSAGE">
54                                 <TMPL_IF NAME="LINE">
55                                         <TMPL_VAR NAME="LINE"><br />
56                                 </TMPL_IF>
57                         </TMPL_LOOP>
58                         </i>
59                 </td>
60         </tr>
61 </tbody>
62 </TMPL_LOOP>
63 </table>
64 </div>
65
66 <!-- from <TMPL_VAR NAME=WIKINAME> -->
67
68 </body>
69 </html>