diff options
-rw-r--r-- | change.tmpl | 36 | ||||
-rw-r--r-- | notifymail.tmpl | 4 | ||||
-rw-r--r-- | recentchanges.tmpl | 74 |
3 files changed, 41 insertions, 73 deletions
diff --git a/change.tmpl b/change.tmpl new file mode 100644 index 0000000..16ef08a --- /dev/null +++ b/change.tmpl @@ -0,0 +1,36 @@ +[[meta author="""<TMPL_VAR AUTHOR>"""]] +<TMPL_IF AUTHORURL> +[[meta authorurl="""<TMPL_VAR AUTHORURL>"""]] +</TMPL_IF> +[[meta title="""update of <TMPL_VAR WIKINAME>'s<TMPL_LOOP NAME="PAGES"> <TMPL_VAR PAGE></TMPL_LOOP>"""]] +<div class="metadata"> +<span class="desc"><br />Changed pages:</span> +<span class="pagelinks"> +<TMPL_LOOP NAME="PAGES"> +<TMPL_IF NAME="DIFFURL"><a href="<TMPL_VAR DIFFURL>"><img alt="diff" src="<TMPL_VAR BASEURL>wikiicons/diff.png" /></a><TMPL_VAR LINK> +<TMPL_ELSE> +<TMPL_VAR LINK> +</TMPL_IF> +</TMPL_LOOP> +</span> +<span class="desc"><br />Changed by:</span> +<span class="committer"> +<TMPL_IF NAME="AUTHORURL"> +<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR USER></a> +<TMPL_ELSE> +<TMPL_VAR USER> +</TMPL_IF> +</span> +<span class="desc"><br />Commit type:</span> +<span class="committype"><TMPL_VAR COMMITTYPE></span> +<span class="desc"><br />Date:</span> +<span class="changedate"><TMPL_VAR COMMITDATE></span> +</div> +<div class=changelog> +<TMPL_LOOP NAME="MESSAGE"> +<TMPL_IF NAME="LINE"> +<TMPL_VAR NAME="LINE" ESCAPE="HTML"><br /> +</TMPL_IF> +</TMPL_LOOP> +</div> +<!-- <TMPL_VAR REV> --> diff --git a/notifymail.tmpl b/notifymail.tmpl deleted file mode 100644 index e3a1dd3..0000000 --- a/notifymail.tmpl +++ /dev/null @@ -1,4 +0,0 @@ -The following change was made by <TMPL_VAR USER>: - -<TMPL_VAR MESSAGE> -<TMPL_VAR DIFF> diff --git a/recentchanges.tmpl b/recentchanges.tmpl index e03482f..340a157 100644 --- a/recentchanges.tmpl +++ b/recentchanges.tmpl @@ -1,71 +1,7 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<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/x-icon" /> +<TMPL_IF FIRST> +<div class="recentchanges"> </TMPL_IF> -</head> -<body> - -<div class="header"> -<span> -<TMPL_VAR INDEXLINK>/ <TMPL_VAR TITLE> -</span> +<TMPL_VAR CONTENT> +<TMPL_IF LAST> </div> - -<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"> - <!-- <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_IF NAME="DIFFURL"> - <a href="<TMPL_VAR NAME="DIFFURL">"> - <img alt="diff" src="wikiicons/diff.png" /> - </a> - <TMPL_VAR NAME="LINK"> - <TMPL_ELSE> - <TMPL_VAR NAME="LINK"> - </TMPL_IF> - </TMPL_LOOP> - </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> -</tbody> -</table> -</div> - -<div id="footer"> -<!-- from <TMPL_VAR NAME=WIKINAME> --> -</div> - -</body> -</html> +</TMPL_IF> |