summaryrefslogtreecommitdiff
path: root/change.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'change.tmpl')
-rw-r--r--change.tmpl29
1 files changed, 16 insertions, 13 deletions
diff --git a/change.tmpl b/change.tmpl
index e4ffcf6..c0fb60a 100644
--- a/change.tmpl
+++ b/change.tmpl
@@ -2,12 +2,15 @@
<TMPL_IF AUTHORURL>
[[!meta authorurl="""<TMPL_VAR AUTHORURL>"""]]
</TMPL_IF>
-[[!meta title="""ændring til<TMPL_LOOP NAME="PAGES"> <TMPL_VAR PAGE></TMPL_LOOP> på <TMPL_VAR WIKINAME>"""]]
-<div class="metadata">
+[[!meta title="""ændring af<TMPL_LOOP PAGES> <TMPL_VAR PAGE></TMPL_LOOP> på <TMPL_VAR WIKINAME>"""]]
+<TMPL_IF PERMALINK>
+[[!meta permalink="<TMPL_VAR PERMALINK>"]]
+</TMPL_IF>
+<div id="change-<TMPL_VAR REV>" class="metadata">
<span class="desc"><br />Ændrede sider:</span>
<span class="pagelinks">
-<TMPL_LOOP NAME="PAGES">
-<TMPL_IF NAME="DIFFURL"><a href="<TMPL_VAR DIFFURL>">[[diff|wikiicons/diff.png]]</a><TMPL_VAR LINK>
+<TMPL_LOOP PAGES>
+<TMPL_IF DIFFURL><a href="<TMPL_VAR DIFFURL>">[[diff|wikiicons/diff.png]]</a><TMPL_VAR LINK>
<TMPL_ELSE>
<TMPL_VAR LINK>
</TMPL_IF>
@@ -15,8 +18,8 @@
</span>
<span class="desc"><br />Ændret af:</span>
<span class="committer">
-<TMPL_IF NAME="AUTHORURL">
-<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR USER></a>
+<TMPL_IF AUTHORURL>
+<a href="<TMPL_VAR AUTHORURL>" rel="nofollow"><TMPL_VAR USER></a>
<TMPL_ELSE>
<TMPL_VAR USER>
</TMPL_IF>
@@ -26,17 +29,17 @@
<span class="desc"><br />Dato:</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 />
+<div class="changelog">
+<TMPL_LOOP MESSAGE>
+<TMPL_IF LINE>
+<TMPL_VAR LINE><br />
</TMPL_IF>
</TMPL_LOOP>
</div>
-<TMPL_IF NAME="DIFF">
-<div class=diff>
+<TMPL_IF DIFF>
+<div class="diff">
<pre>
-<TMPL_VAR NAME="DIFF" ESCAPE="HTML">
+<TMPL_VAR DIFF>
</pre>
</div>
</TMPL_IF>