* pagetemplate hooks are now also called when generating cgi pages.
[ikiwiki.git] / templates / recentchanges.tmpl
index 3dc9fc1be1f1b8b70113c592319a3857dbbfc67d..d9eea14e789a4f29901b403dcc5edeb274dab349 100644 (file)
@@ -1,32 +1,67 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html>
-<head><title><TMPL_VAR TITLE></title></head>
+<head>
+<base href="<TMPL_VAR BASEURL>" />
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title><TMPL_VAR TITLE></title>
+<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
+<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
+<TMPL_IF NAME="FAVICON">
+<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/png" />
+</TMPL_IF>
+</head>
 <body>
 
-<h1>
+<div class="header">
+<span>
 <TMPL_VAR INDEXLINK>/ <TMPL_VAR TITLE>
-</h1>
+</span>
+</div>
 
-<hr>
-
-<ul>
+<div id="content">
+<br />
+<table border="1" frame="border" rules="groups">
+<thead>
+       <tr class="changeheader">
+               <th class="changeheader" align="left">user</th>
+               <th class="changeheader" align="left">time</th>
+               <th class="changeheader" align="left" colspan="2">changes</th>
+       </tr>
+</thead>
+<tbody>
 <TMPL_LOOP NAME="CHANGELOG">
-       <li> <!-- <TMPL_VAR NAME="REV"> -->
+       <!-- <TMPL_VAR NAME="REV"> -->
+       <tr class="changeinfo">
+               <td class="changeinfo"><TMPL_VAR NAME="USER"></td>
+               <td class="changetime"><TMPL_VAR NAME="WHEN"></td>
+               <td class="changeinfo">
                <TMPL_LOOP NAME="PAGES">
-                       <TMPL_VAR NAME="LINK">
-               </TMPL_LOOP>
-               <br>
-               <!-- <TMPL_VAR NAME="COMMITTYPE"> -->
-               changed <TMPL_VAR NAME="WHEN"> by <TMPL_VAR NAME="USER">:
-               <i>
-               <TMPL_LOOP NAME="MESSAGE">
-                       <TMPL_IF NAME="LINE">
-                               <TMPL_VAR NAME="LINE"><br>
+                       <TMPL_IF NAME="DIFFURL">
+                               <a href="<TMPL_VAR NAME="DIFFURL">">
+                               <img alt="diff" src="wikiicons/diff.png" style="border-style: none" />
+                               </a>
+                               <TMPL_VAR NAME="LINK">
+                       <TMPL_ELSE>
+                               <TMPL_VAR NAME="LINK">
                        </TMPL_IF>
                </TMPL_LOOP>
-               </i>
-       </li>
+               </td>
+               <td class="changeinfo"><TMPL_VAR NAME="COMMITTYPE"></td>
+       </tr>
+       <tr>
+               <td class="changelog" colspan="4">
+                       <TMPL_LOOP NAME="MESSAGE">
+                               <TMPL_IF NAME="LINE">
+                                       <TMPL_VAR NAME="LINE" ESCAPE="HTML"><br />
+                               </TMPL_IF>
+                       </TMPL_LOOP>
+               </td>
+       </tr>
 </TMPL_LOOP>
-</ul>
+</tbody>
+</table>
+</div>
 
 <!-- from <TMPL_VAR NAME=WIKINAME> -->