summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-07-20 23:09:23 +0200
committerJonas Smedegaard <dr@jones.dk>2010-07-20 23:18:03 +0200
commitf56c8b570fe10018c5842c27f30fcade6b5a87af (patch)
treeb8d2be3cd474296071c958884099f4378b096db2
parent3011422a7d372db57061a803e4d14029fef477d8 (diff)
parentee62a82c4be0125da6b4758e43e231a3c28c857f (diff)
Merge branch 'master-da' into wian-da
Conflicts (manually resolved): misc.tmpl page.tmpl
-rw-r--r--aggregatepost.tmpl18
-rw-r--r--archivepage.tmpl16
-rw-r--r--atomitem.tmpl78
-rw-r--r--atompage.tmpl40
-rw-r--r--autotag.tmpl4
-rw-r--r--blogpost.tmpl8
-rw-r--r--calendarmonth.tmpl5
-rw-r--r--calendaryear.tmpl1
-rw-r--r--change.tmpl29
-rw-r--r--comment.tmpl61
-rw-r--r--commentmoderation.tmpl32
-rw-r--r--editcomment.tmpl39
-rw-r--r--editconflict.tmpl2
-rw-r--r--editcreationconflict.tmpl6
-rw-r--r--editfailedsave.tmpl2
-rw-r--r--editpage.tmpl23
-rw-r--r--editpagegone.tmpl6
-rw-r--r--feedlink.tmpl8
-rw-r--r--googleform.tmpl6
-rw-r--r--inlinepage.tmpl58
-rw-r--r--microblog.tmpl22
-rw-r--r--misc.tmpl58
-rw-r--r--openid-selector.tmpl43
-rw-r--r--page.tmpl170
-rw-r--r--pocreatepage.tmpl3
-rw-r--r--renamesummary.tmpl8
-rw-r--r--rssitem.tmpl33
-rw-r--r--searchform.tmpl3
-rw-r--r--searchquery.tmpl25
-rw-r--r--titlepage.tmpl8
30 files changed, 542 insertions, 273 deletions
diff --git a/aggregatepost.tmpl b/aggregatepost.tmpl
index 8b89367..4e89efe 100644
--- a/aggregatepost.tmpl
+++ b/aggregatepost.tmpl
@@ -1,15 +1,15 @@
<TMPL_VAR CONTENT>
-<TMPL_LOOP NAME="TAGS">
+<TMPL_LOOP TAGS>
[[!tag <TMPL_VAR TAG>]]
</TMPL_LOOP>
-<TMPL_IF NAME="TITLE">
-[[!meta title="<TMPL_VAR NAME="TITLE" ESCAPE=HTML>"]]
+<TMPL_IF TITLE>
+[[!meta title="<TMPL_VAR TITLE ESCAPE=HTML>"]]
</TMPL_IF>
-<TMPL_IF NAME="PERMALINK">
-[[!meta permalink="<TMPL_VAR NAME="PERMALINK" ESCAPE=HTML>"]]
+<TMPL_IF PERMALINK>
+[[!meta permalink="<TMPL_VAR PERMALINK ESCAPE=HTML>"]]
</TMPL_IF>
-<TMPL_IF NAME="COPYRIGHT">
-[[!meta copyright="<TMPL_VAR NAME="COPYRIGHT" ESCAPE=HTML>"]]
+<TMPL_IF COPYRIGHT>
+[[!meta copyright="<TMPL_VAR COPYRIGHT ESCAPE=HTML>"]]
</TMPL_IF>
-[[!meta author="<TMPL_VAR NAME="NAME" ESCAPE=HTML>"]]
-[[!meta authorurl="<TMPL_VAR NAME="URL" ESCAPE=HTML>"]]
+[[!meta author="<TMPL_VAR NAME ESCAPE=HTML>"]]
+[[!meta authorurl="<TMPL_VAR URL ESCAPE=HTML>"]]
diff --git a/archivepage.tmpl b/archivepage.tmpl
index 8c4550a..7bd0935 100644
--- a/archivepage.tmpl
+++ b/archivepage.tmpl
@@ -1,7 +1,19 @@
<p>
+<TMPL_IF PERMALINK>
+<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a><br />
+<TMPL_ELSE>
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a><br />
+</TMPL_IF>
<i>
-Indsendt <TMPL_VAR CTIME>
+Leveret <TMPL_VAR CTIME>
+<TMPL_IF AUTHOR>
+af <span class="author">
+<TMPL_IF AUTHORURL>
+<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a>
+<TMPL_ELSE>
+<TMPL_VAR AUTHOR>
+</TMPL_IF>
+</span>
+</TMPL_IF>
</i>
-
</p>
diff --git a/atomitem.tmpl b/atomitem.tmpl
index b5edaa9..6bafbd0 100644
--- a/atomitem.tmpl
+++ b/atomitem.tmpl
@@ -1,42 +1,48 @@
<entry>
<title><TMPL_VAR TITLE></title>
- <TMPL_IF NAME="GUID">
- <id><TMPL_VAR GUID></id>
- <TMPL_ELSE>
- <id><TMPL_VAR URL></id>
- </TMPL_IF>
+<TMPL_IF GUID>
+ <id><TMPL_VAR GUID></id>
+<TMPL_ELSE>
+ <id><TMPL_VAR URL></id>
+</TMPL_IF>
<link href="<TMPL_VAR PERMALINK>"/>
- <TMPL_IF NAME="AUTHOR">
- <author><name><TMPL_VAR AUTHOR ESCAPE=HTML></name></author>
- </TMPL_IF>
- <TMPL_IF NAME="COPYRIGHT">
- <rights type="html" xml:lang="da">
- <TMPL_IF NAME="LICENSE">
- <TMPL_VAR LICENSE ESCAPE=HTML>
- <TMPL_VAR COPYRIGHT ESCAPE=HTML>
- <TMPL_ELSE>
- <TMPL_VAR COPYRIGHT ESCAPE=HTML>
- </TMPL_IF>
- </rights>
- <TMPL_ELSE>
- <TMPL_IF NAME="LICENSE">
- <rights type="html" xml:lang="da">
- <TMPL_VAR LICENSE ESCAPE=HTML>
- </rights>
- </TMPL_IF>
- </TMPL_IF>
- <TMPL_IF NAME="CATEGORIES">
- <TMPL_LOOP NAME="CATEGORIES">
- <category term="<TMPL_VAR CATEGORY>" />
- </TMPL_LOOP>
- </TMPL_IF>
+<TMPL_IF AUTHOR>
+ <author><name><TMPL_VAR AUTHOR ESCAPE=HTML></name></author>
+</TMPL_IF>
+<TMPL_IF COPYRIGHT>
+ <rights type="html" xml:lang="da">
+<TMPL_IF LICENSE>
+ <TMPL_VAR LICENSE ESCAPE=HTML>
+ <TMPL_VAR COPYRIGHT ESCAPE=HTML>
+<TMPL_ELSE>
+ <TMPL_VAR COPYRIGHT ESCAPE=HTML>
+</TMPL_IF>
+ </rights>
+<TMPL_ELSE>
+<TMPL_IF LICENSE>
+ <rights type="html" xml:lang="da">
+ <TMPL_VAR LICENSE ESCAPE=HTML>
+ </rights>
+</TMPL_IF>
+</TMPL_IF>
+<TMPL_IF CATEGORIES>
+<TMPL_LOOP CATEGORIES>
+ <category term="<TMPL_VAR CATEGORY>" />
+</TMPL_LOOP>
+</TMPL_IF>
<updated><TMPL_VAR MDATE_3339></updated>
<published><TMPL_VAR CDATE_3339></published>
- <TMPL_IF NAME="ENCLOSURE">
- <link rel="enclosure" type="<TMPL_VAR TYPE>" href="<TMPL_VAR ENCLOSURE>" length="<TMPL_VAR LENGTH>" />
- <TMPL_ELSE>
- <content type="html" xml:lang="da">
- <TMPL_VAR CONTENT ESCAPE=HTML>
- </content>
- </TMPL_IF>
+<TMPL_IF ENCLOSURE>
+ <link rel="enclosure" type="<TMPL_VAR TYPE>" href="<TMPL_VAR ENCLOSURE>" length="<TMPL_VAR LENGTH>" />
+<TMPL_ELSE>
+ <content type="html" xml:lang="da">
+ <TMPL_VAR CONTENT ESCAPE=HTML>
+ </content>
+</TMPL_IF>
+<TMPL_IF COMMENTSURL>
+ <link rel="comments" href="<TMPL_VAR COMMENTSURL>" type="text/html" />
+</TMPL_IF>
+<TMPL_IF ATOMCOMMENTSURL>
+ <link rel="comments" href="<TMPL_VAR ATOMCOMMENTSURL>" type="application/atom+xml" />
+</TMPL_IF>
</entry>
diff --git a/atompage.tmpl b/atompage.tmpl
index 5be669e..631ef6d 100644
--- a/atompage.tmpl
+++ b/atompage.tmpl
@@ -5,32 +5,32 @@
<link href="<TMPL_VAR PAGEURL>"/>
<link href="<TMPL_VAR FEEDURL>" rel="self" type="application/atom+xml"/>
<author>
-<TMPL_IF NAME="AUTHOR">
- <name><TMPL_VAR AUTHOR></name>
+<TMPL_IF AUTHOR>
+<name><TMPL_VAR AUTHOR></name>
<TMPL_ELSE>
- <name><TMPL_VAR WIKINAME></name>
+<name><TMPL_VAR WIKINAME></name>
</TMPL_IF>
</author>
-<TMPL_IF NAME="COPYRIGHT">
- <rights type="html" xml:lang="da">
- <TMPL_IF NAME="LICENSE">
- <TMPL_VAR LICENSE>
- <TMPL_VAR COPYRIGHT ESCAPE=HTML>
- <TMPL_ELSE>
- <TMPL_VAR COPYRIGHT ESCAPE=HTML>
- </TMPL_IF>
- </rights>
+<TMPL_IF COPYRIGHT>
+<rights type="html" xml:lang="da">
+<TMPL_IF LICENSE>
+ <TMPL_VAR LICENSE>
+ <TMPL_VAR COPYRIGHT ESCAPE=HTML>
<TMPL_ELSE>
- <TMPL_IF NAME="LICENSE">
- <rights type="html">
- <TMPL_VAR LICENSE ESCAPE=HTML>
- </rights>
- </TMPL_IF>
+ <TMPL_VAR COPYRIGHT ESCAPE=HTML>
</TMPL_IF>
-<TMPL_IF NAME="GUID">
- <id><TMPL_VAR GUID></id>
+</rights>
<TMPL_ELSE>
- <id><TMPL_VAR PAGEURL></id>
+<TMPL_IF LICENSE>
+<rights type="html">
+ <TMPL_VAR LICENSE ESCAPE=HTML>
+</rights>
+</TMPL_IF>
+</TMPL_IF>
+<TMPL_IF GUID>
+<id><TMPL_VAR GUID></id>
+<TMPL_ELSE>
+<id><TMPL_VAR PAGEURL></id>
</TMPL_IF>
<subtitle type="html"><TMPL_VAR FEEDDESC ESCAPE=HTML></subtitle>
<generator uri="http://ikiwiki.info/" version="<TMPL_VAR VERSION>">ikiwiki</generator>
diff --git a/autotag.tmpl b/autotag.tmpl
new file mode 100644
index 0000000..cf07d26
--- /dev/null
+++ b/autotag.tmpl
@@ -0,0 +1,4 @@
+[[!meta title="sider med mærkat <TMPL_VAR TAGNAME>"]]
+
+[[!inline pages="tagged(<TMPL_VAR TAG>)" actions="no" archive="yes"
+feedshow=10]]
diff --git a/blogpost.tmpl b/blogpost.tmpl
index 7eeede6..5a31e3f 100644
--- a/blogpost.tmpl
+++ b/blogpost.tmpl
@@ -1,10 +1,10 @@
<form action="<TMPL_VAR CGIURL>" method="get">
<div id="blogform">
-<TMPL_IF NAME="RSSURL">
-<a class="feedbutton" type="application/rss+xml" href="<TMPL_VAR NAME=RSSURL>">RSS</a>
+<TMPL_IF RSSURL>
+<a class="feedbutton" type="application/rss+xml" href="<TMPL_VAR RSSURL>">RSS</a>
</TMPL_IF>
-<TMPL_IF NAME="ATOMURL">
-<a class="feedbutton" type="application/atom+xml" href="<TMPL_VAR NAME=ATOMURL>">Atom</a>
+<TMPL_IF ATOMURL>
+<a class="feedbutton" type="application/atom+xml" href="<TMPL_VAR ATOMURL>">Atom</a>
</TMPL_IF>
<input type="hidden" name="do" value="blog" />
<input type="hidden" name="from" value="<TMPL_VAR ROOTPAGE>" />
diff --git a/calendarmonth.tmpl b/calendarmonth.tmpl
new file mode 100644
index 0000000..23cd954
--- /dev/null
+++ b/calendarmonth.tmpl
@@ -0,0 +1,5 @@
+[[!sidebar content="""
+[[!calendar type=month month=<TMPL_VAR MONTH> year=<TMPL_VAR YEAR> pages="<TMPL_VAR PAGESPEC>"]]
+"""]]
+
+[[!inline pages="creation_month(<TMPL_VAR MONTH>) and creation_year(<TMPL_VAR YEAR>) and <TMPL_VAR PAGESPEC>" show=0 feeds=no reverse=yes]]
diff --git a/calendaryear.tmpl b/calendaryear.tmpl
new file mode 100644
index 0000000..714bd6d
--- /dev/null
+++ b/calendaryear.tmpl
@@ -0,0 +1 @@
+[[!calendar type=year year=<TMPL_VAR YEAR> pages="<TMPL_VAR PAGESPEC>"]]
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>
diff --git a/comment.tmpl b/comment.tmpl
new file mode 100644
index 0000000..7d22ec0
--- /dev/null
+++ b/comment.tmpl
@@ -0,0 +1,61 @@
+<TMPL_IF HTML5><article class="comment" id="<TMPL_VAR COMMENTID>">
+<TMPL_ELSE><div class="comment" id="<TMPL_VAR COMMENTID>"></TMPL_IF>
+
+<TMPL_IF HTML5><header class="comment-subject"><TMPL_ELSE><div class="comment-subject"></TMPL_IF>
+<TMPL_IF PERMALINK>
+<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
+<TMPL_ELSE>
+<TMPL_VAR TITLE>
+</TMPL_IF>
+<TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
+
+<TMPL_IF HTML5><section class="inlinecontent"><TMPL_ELSE><div class="inlinecontent"></TMPL_IF>
+<TMPL_VAR CONTENT>
+<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
+
+<TMPL_IF HTML5><header class="comment-header"><TMPL_ELSE><div class="comment-header"></TMPL_IF>
+<TMPL_IF COMMENTUSER>
+Kommentar fra
+<TMPL_IF COMMENTOPENID>
+<span class="author" title="OpenID">
+<a href="<TMPL_VAR COMMENTOPENID>"><TMPL_VAR COMMENTAUTHOR></a>
+</span>
+<TMPL_ELSE>
+<span class="author" title="Noteret">
+<TMPL_IF COMMENTAUTHORURL>
+<a href="<TMPL_VAR COMMENTAUTHORURL>"><TMPL_VAR COMMENTAUTHOR></a>
+<TMPL_ELSE>
+<TMPL_VAR COMMENTAUTHOR>
+</TMPL_IF>
+</span>
+</TMPL_IF>
+<TMPL_ELSE>
+<TMPL_IF AUTHOR>
+Kommentar fra
+<TMPL_IF COMMENTIP>
+<span class="author" title="Ikke ægthedschecket, fra <TMPL_VAR COMMENTIP>">
+<TMPL_ELSE>
+<span class="author" title="Ikke ægthedschecket, fra ukendt IP adresse">
+</TMPL_IF>
+<TMPL_IF AUTHORURL>
+<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a>
+<TMPL_ELSE>
+<TMPL_VAR AUTHOR>
+</TMPL_IF>
+</TMPL_IF>
+</span>
+</TMPL_IF>
+&mdash; <TMPL_VAR CTIME>
+<TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
+
+<TMPL_IF HAVE_ACTIONS>
+<TMPL_IF HTML5><nav class="actions"><TMPL_ELSE><div class="actions"></TMPL_IF>
+<ul>
+<TMPL_IF REMOVEURL>
+<li><a href="<TMPL_VAR REMOVEURL>" rel="nofollow">Fjern kommentar</a></li>
+</TMPL_IF>
+</ul>
+<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
+</TMPL_IF>
+
+<TMPL_IF HTML5></article><TMPL_ELSE></div></TMPL_IF>
diff --git a/commentmoderation.tmpl b/commentmoderation.tmpl
new file mode 100644
index 0000000..b71db3a
--- /dev/null
+++ b/commentmoderation.tmpl
@@ -0,0 +1,32 @@
+<TMPL_IF COMMENTS>
+<br />
+<form action="<TMPL_VAR CGIURL>" method="post">
+<input type="hidden" name="do" value="commentmoderation" />
+<input type="hidden" name="sid" value="<TMPL_VAR SID>" />
+<input type="submit" value="Submit" />
+<input id="rejectalldefer" type="checkbox" name="rejectalldefer" value="1" />
+<label for="rejectalldefer">Afvis alle kommentarer markeret <em>Udsæt</em></label>
+<br />
+<TMPL_LOOP COMMENTS>
+<div>
+<div>
+<TMPL_VAR VIEW>
+</div>
+<input id="defer_<TMPL_VAR ID>" type="radio" value="Defer" name="<TMPL_VAR ID>" checked="checked" />
+<label for="defer_<TMPL_VAR ID>">Udsæt</label>
+<input id="dccept_<TMPL_VAR ID>" type="radio" value="Accept" name="<TMPL_VAR ID>" />
+<label for="dccept_<TMPL_VAR ID>">Acceptér</label>
+<input id="reject_<TMPL_VAR ID>" type="radio" value="Reject" name="<TMPL_VAR ID>" />
+<label for="reject_<TMPL_VAR ID>">Afvis</label>
+</div>
+<br />
+</TMPL_LOOP>
+<input type="submit" value="Submit" />
+<input id="rejectalldefer2" type="checkbox" name="rejectalldefer" value="1" />
+<label for="rejectalldefer2">Afvis alle kommentarer markeret <em>Udsæt</em></label>
+</form>
+<TMPL_ELSE>
+<p>
+Ingen kommentarer kræver tilbageholdelse i øjeblikket.
+</p>
+</TMPL_IF>
diff --git a/editcomment.tmpl b/editcomment.tmpl
new file mode 100644
index 0000000..66e79fc
--- /dev/null
+++ b/editcomment.tmpl
@@ -0,0 +1,39 @@
+<div class="editcomment">
+<TMPL_VAR MESSAGE>
+<br />
+<TMPL_VAR FORM-START>
+<TMPL_VAR FIELD-DO>
+<TMPL_VAR FIELD-SID>
+<TMPL_VAR FIELD-PAGE>
+<TMPL_UNLESS NAME=USERNAME>
+<TMPL_IF NAME=ALLOWAUTHOR>
+<label for="author" class="block">Navn:</label>
+<TMPL_VAR NAME=FIELD-AUTHOR> (valgfrit, eller <a href="<TMPL_VAR SIGNINURL>">registrér</a>)
+<br/>
+<label for="url" class="block">Websted:</label>
+<TMPL_VAR NAME=FIELD-URL> (valgfrit)
+<br />
+<TMPL_ELSE>
+(Måske du vil <a href="<TMPL_VAR SIGNINURL>">registrere</a> dig først?)
+<br />
+</TMPL_IF>
+</TMPL_UNLESS>
+<label for="subject" class="block">Emne:</label>
+<TMPL_VAR FIELD-SUBJECT><br />
+<label for="editcontent" class="block">Kommentar:</label>
+<TMPL_VAR FIELD-EDITCONTENT><br />
+<TMPL_VAR FORM-SUBMIT> <TMPL_VAR FIELD-TYPE> <TMPL_VAR HELPONFORMATTINGLINK><br />
+<TMPL_VAR NAME="FORM-END">
+<TMPL_VAR WMD_PREVIEW>
+
+<TMPL_IF NAME="PAGE_PREVIEW">
+<hr />
+<div class="header">
+<span>Kommentar smugkig:</span>
+</div><!-- .header -->
+<div id="preview">
+<TMPL_VAR PAGE_PREVIEW>
+</div><!-- #preview -->
+</TMPL_IF>
+
+</div><!-- .editcomment -->
diff --git a/editconflict.tmpl b/editconflict.tmpl
index 83089b3..10e4b85 100644
--- a/editconflict.tmpl
+++ b/editconflict.tmpl
@@ -1,4 +1,4 @@
-<p>
+<p class="error">
<b>Dine rettelser er i strid med andre retttelser foretaget på siden.</b>
</p>
<p>
diff --git a/editcreationconflict.tmpl b/editcreationconflict.tmpl
index d8ec6e1..7b7e5f3 100644
--- a/editcreationconflict.tmpl
+++ b/editcreationconflict.tmpl
@@ -1,6 +1,6 @@
-<p>
-<b>Mens du oprettede denne side, har en anden uafhængigt af dig oprettet en
-side med det samme navn.</b>
+<p class="error">
+<b>Mens du oprettede denne side, har en anden uafhængigt af dig oprettet en side
+med det samme navn.</b>
</p>
<p>
Redigeringsområdet nedenfor indeholder sidens nuværende indhold, efterfulgt af
diff --git a/editfailedsave.tmpl b/editfailedsave.tmpl
index 788518e..320d03a 100644
--- a/editfailedsave.tmpl
+++ b/editfailedsave.tmpl
@@ -1,4 +1,4 @@
-<p>
+<p class="error">
<b>Kunne ikke gemme dine rettelser.</b>
</p>
<p>
diff --git a/editpage.tmpl b/editpage.tmpl
index 8914e5e..00ec9e1 100644
--- a/editpage.tmpl
+++ b/editpage.tmpl
@@ -1,6 +1,6 @@
-<br />
<TMPL_VAR JAVASCRIPT>
<TMPL_VAR MESSAGE>
+<br />
<TMPL_VAR FORM-START>
<TMPL_VAR FIELD-DO>
<TMPL_VAR FIELD-SID>
@@ -8,17 +8,18 @@
<TMPL_VAR FIELD-RCSINFO>
<TMPL_VAR FIELD-NEWFILE>
<TMPL_IF NAME="PAGE_SELECT">
-Sideplacering: <TMPL_VAR FIELD-PAGE>
-Sidetype: <TMPL_VAR FIELD-TYPE>
+<label for="page" class="inline">Sideplacering:</label><TMPL_VAR FIELD-PAGE>
+<label for="type" class="inline">Sidetype:</label><TMPL_VAR FIELD-TYPE>
<TMPL_ELSE>
-<br />
<TMPL_VAR FIELD-PAGE>
<TMPL_VAR FIELD-TYPE>
</TMPL_IF>
+<div class="editcontentdiv">
<TMPL_VAR FIELD-EDITCONTENT><br />
+</div>
<TMPL_IF NAME="CAN_COMMIT">
-Valgfri kommentar om denne ændring:<br />
-<TMPL_VAR FIELD-COMMENTS><br />
+<label for="editmessage" class="block">Valgfri kommentar om denne ændring:</label>
+<TMPL_VAR FIELD-EDITMESSAGE><br />
</TMPL_IF>
<TMPL_VAR FORM-SUBMIT>
<TMPL_VAR HELPONFORMATTINGLINK>
@@ -37,6 +38,7 @@ Valgfri kommentar om denne ændring:<br />
</div>
</TMPL_IF>
<TMPL_VAR FORM-END>
+<TMPL_VAR WMD_PREVIEW>
<TMPL_IF NAME="PAGE_PREVIEW">
<hr />
@@ -47,3 +49,12 @@ Valgfri kommentar om denne ændring:<br />
<TMPL_VAR PAGE_PREVIEW>
</div>
</TMPL_IF>
+<TMPL_IF NAME="PAGE_DIFF">
+<hr />
+<div class="header">
+<span>Diff:</span>
+</div>
+<div id="diff">
+<TMPL_VAR PAGE_DIFF>
+</div>
+</TMPL_IF>
diff --git a/editpagegone.tmpl b/editpagegone.tmpl
index ce1e3d8..7530c06 100644
--- a/editpagegone.tmpl
+++ b/editpagegone.tmpl
@@ -1,7 +1,7 @@
-<p>
+<p class="error">
<b>Siden du redigerede er forsvundet.</b>
</p>
<p>
-Måske har nogen slettet den eller flyttet den. Hvis du vil gendanne denne side
-med din tekst, så vælg "Gem side" igen.
+Måske har nogen slettet den eller flyttet den. Hvis du vil gendanne denne
+side med din tekst, så vælg "Gem side" igen.
</p>
diff --git a/feedlink.tmpl b/feedlink.tmpl
index 2963156..be8637f 100644
--- a/feedlink.tmpl
+++ b/feedlink.tmpl
@@ -1,8 +1,8 @@
<div id="feedlink">
-<TMPL_IF NAME="RSSURL">
-<a class="feedbutton" type="application/rss+xml" href="<TMPL_VAR NAME=RSSURL>">RSS</a>
+<TMPL_IF RSSURL>
+<a class="feedbutton" type="application/rss+xml" href="<TMPL_VAR RSSURL>">RSS</a>
</TMPL_IF>
-<TMPL_IF NAME="ATOMURL">
-<a class="feedbutton" type="application/atom+xml" href="<TMPL_VAR NAME=ATOMURL>">Atom</a>
+<TMPL_IF ATOMURL>
+<a class="feedbutton" type="application/atom+xml" href="<TMPL_VAR ATOMURL>">Atom</a>
</TMPL_IF>
</div>
diff --git a/googleform.tmpl b/googleform.tmpl
index 523cff0..561bf5c 100644
--- a/googleform.tmpl
+++ b/googleform.tmpl
@@ -1,6 +1,8 @@
+
<form method="get" action="http://www.google.com/search" id="searchform">
<div>
- <input name="sitesearch" value="<TMPL_VAR SITEFQDN>" type="hidden">
- <input name="q" value="" id="searchbox" size="16" maxlength="255" type="text">
+ <input name="sitesearch" value="<TMPL_VAR URL>" type="hidden" />
+ <input name="q" value="" id="searchbox" size="16" maxlength="255" type="text"
+ <TMPL_IF HTML5>placeholder="søg"</TMPL_IF> />
</div>
</form>
diff --git a/inlinepage.tmpl b/inlinepage.tmpl
index 59ffd94..5380316 100644
--- a/inlinepage.tmpl
+++ b/inlinepage.tmpl
@@ -1,43 +1,41 @@
-<div class="inlinepage">
+<TMPL_IF HTML5><article class="inlinepage"><TMPL_ELSE><div class="inlinepage"></TMPL_IF>
-<div class="inlineheader">
-
-<TMPL_IF NAME="AUTHOR">
+<TMPL_IF HTML5><section class="inlineheader"><TMPL_ELSE><div class="inlineheader"></TMPL_IF>
+<TMPL_IF AUTHOR>
<span class="author">
-<TMPL_IF NAME="AUTHORURL">
-<a href="<TMPL_VAR NAME=AUTHORURL>"><TMPL_VAR NAME=AUTHOR></a>
+<TMPL_IF AUTHORURL>
+<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a>
<TMPL_ELSE>
-<TMPL_VAR NAME=AUTHOR>
+<TMPL_VAR AUTHOR>
</TMPL_IF>
</span>
</TMPL_IF>
-<span class="header">
-<TMPL_IF NAME="PERMALINK">
+<TMPL_IF HTML5><header class="header"><TMPL_ELSE><span class="header"></TMPL_IF>
+<TMPL_IF PERMALINK>
<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
<TMPL_ELSE>
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
</TMPL_IF>
-</span>
-
-</div><!--.inlineheader-->
+<TMPL_IF HTML5></header><TMPL_ELSE></span></TMPL_IF>
+<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
-<div class="inlinecontent">
+<TMPL_IF HTML5><section class="inlinecontent"><TMPL_ELSE><div class="inlinecontent"></TMPL_IF>
<TMPL_VAR CONTENT>
-</div><!--.inlinecontent-->
+<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
-<div class="inlinefooter">
+<TMPL_IF HTML5><footer class="inlinefooter"><TMPL_ELSE><div class="inlinefooter"></TMPL_IF>
<span class="pagedate">
-Posted <TMPL_VAR CTIME>
+Leveret <TMPL_VAR CTIME>
</span>
-<TMPL_IF NAME="TAGS">
-<span class="tags">
+<TMPL_IF TAGS>
+<TMPL_IF HTML5><nav class="tags"><TMPL_ELSE><span class="tags"></TMPL_IF>
Mærkater:
-<TMPL_LOOP NAME="TAGS">
-<TMPL_VAR NAME=LINK>
+<TMPL_LOOP TAGS>
+<TMPL_VAR LINK>
</TMPL_LOOP>
-</span>
+<TMPL_IF HTML5></nav><TMPL_ELSE></span></TMPL_IF>
</TMPL_IF>
<TMPL_IF COPYRIGHT>
@@ -52,19 +50,23 @@ Licens: <TMPL_VAR LICENSE>
</div>
</TMPL_IF>
-<TMPL_IF NAME="HAVE_ACTIONS">
-<div class="actions">
+<TMPL_IF HAVE_ACTIONS>
+<TMPL_IF HTML5><nav class="actions"><TMPL_ELSE><div class="actions"></TMPL_IF>
<ul>
-<TMPL_IF NAME="EDITURL">
+<TMPL_IF EDITURL>
<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Redigér</a></li>
</TMPL_IF>
-<TMPL_IF NAME="DISCUSSIONLINK">
+<TMPL_IF COMMENTSLINK>
+<li><TMPL_VAR COMMENTSLINK></li>
+<TMPL_ELSE>
+<TMPL_IF DISCUSSIONLINK>
<li><TMPL_VAR DISCUSSIONLINK></li>
</TMPL_IF>
+</TMPL_IF>
</ul>
-</div><!--.actions-->
+<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
-</div><!--.inlinefooter-->
+<TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF>
-</div><!--.inlinepage-->
+<TMPL_IF HTML5></article><TMPL_ELSE></div></TMPL_IF>
diff --git a/microblog.tmpl b/microblog.tmpl
new file mode 100644
index 0000000..e22d65c
--- /dev/null
+++ b/microblog.tmpl
@@ -0,0 +1,22 @@
+<div class="microblog">
+
+<div class="inlinecontent">
+<TMPL_VAR CONTENT>
+</div>
+
+<div class="microblog-header">
+
+<TMPL_IF AUTHOR>
+<span class="author">
+<TMPL_IF AUTHORURL>
+<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a>
+<TMPL_ELSE>
+<TMPL_VAR AUTHOR>
+</TMPL_IF>
+</span>
+</TMPL_IF>
+
+&mdash; <TMPL_VAR CTIME>
+
+</div> <!--.microblog-header-->
+</div> <!--.microblog-->
diff --git a/misc.tmpl b/misc.tmpl
deleted file mode 100644
index b79b58c..0000000
--- a/misc.tmpl
+++ /dev/null
@@ -1,58 +0,0 @@
-<!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>
-<TMPL_IF NAME="FORCEBASEURL">
-<base href="<TMPL_VAR FORCEBASEURL>" />
-<TMPL_ELSE>
-<base href="<TMPL_VAR BASEURL>" />
-</TMPL_IF>
-<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>
-</head>
-<body>
-
-<div id="container">
-
-<TMPL_IF NAME="BRANDING_LOGO_TEXT">
-<div id="branding">
-<div id="branding-logo">
-<TMPL_IF NAME="BRANDING_LOGO">
-<a href="<TMPL_VAR BASEURL>"><img src="<TMPL_VAR BASEURL><TMPL_VAR NAME=BRANDING_LOGO>" alt="<TMPL_VAR NAME=BRANDING_LOGO_TEXT>" /></a>
-<TMPL_ELSE>
-<a href="<TMPL_VAR BASEURL>"><TMPL_VAR NAME=BRANDING_LOGO_TEXT></a>
-</TMPL_IF>
-</div>
-<TMPL_IF NAME="BRANDING_LOGO_TAGLINE">
-<div id="branding-tagline">
-<a href="<TMPL_VAR BASEURL>"><TMPL_VAR NAME=BRANDING_LOGO_TAGLINE></a>
-</div>
-</TMPL_IF>
-</div>
-</TMPL_IF>
-
-<div class="header">
-<span>
-<TMPL_VAR INDEXLINK>/ <TMPL_VAR TITLE>
-</span>
-</div>
-
-<div id="wrapper">
-<div id="content">
-<TMPL_VAR PAGEBODY>
-</div>
-</div>
-
-<div id="footer">
-<!-- from <TMPL_VAR NAME=WIKINAME> -->
-</div>
-
-</div><!-- #container -->
-
-</body>
-</html>
diff --git a/openid-selector.tmpl b/openid-selector.tmpl
new file mode 100644
index 0000000..0b97bf9
--- /dev/null
+++ b/openid-selector.tmpl
@@ -0,0 +1,43 @@
+<script type="text/javascript" src="ikiwiki/openid/jquery.js"></script>
+<script type="text/javascript" src="ikiwiki/openid/openid-jquery.js"></script>
+<script type="text/javascript">
+$(document).ready(function() {
+ openid.init('openid_identifier','<TMPL_IF NONOPENIDFORM>nonopenidform</TMPL_IF>');
+});
+</script>
+
+<noscript>
+<h2>OpenID:</h2>
+</noscript>
+
+<form action="<TMPL_VAR CGIURL>" method="get" id="openid_form">
+ <fieldset>
+ <script>
+ $('fieldset').append("<legend>Vælg din konto udbyder</legend>");
+ </script>
+
+ <input type="hidden" name="do" value="signin" />
+ <input type="hidden" name="action" value="verify" />
+ <div id="openid_choice">
+ <div id="openid_btns"></div>
+ </div>
+ <div id="openid_input_area">
+ <label for="openid_identifier" class="block">Angiv din OpenID:</label>
+ <input id="openid_identifier" name="openid_identifier" type="text" value="<TMPL_VAR OPENID_URL>"/>
+ <input id="openid_submit" type="submit" value="Login"/>
+ </div>
+ <TMPL_IF OPENID_ERROR>
+ <div class="error"><TMPL_VAR OPENID_ERROR></div>
+ </TMPL_IF>
+ </fieldset>
+</form>
+
+<div id="nonopenidform">
+<TMPL_IF NONOPENIDFORM>
+<br />
+<noscript>
+<h2>Andre:</h2>
+</noscript>
+</TMPL_IF>
+<TMPL_VAR NONOPENIDFORM>
+</div>
diff --git a/page.tmpl b/page.tmpl
index 9489350..6842b22 100644
--- a/page.tmpl
+++ b/page.tmpl
@@ -1,25 +1,39 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+<TMPL_IF HTML5><!DOCTYPE html>
+<html>
+<TMPL_ELSE><!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">
+</TMPL_IF>
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<TMPL_IF DYNAMIC>
+<TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" /><TMPL_ELSE>
+<TMPL_IF BASEURL><base href="<TMPL_VAR BASEURL>" /></TMPL_IF>
+</TMPL_IF>
+</TMPL_IF>
+<TMPL_IF HTML5><meta charset="utf-8" /><TMPL_ELSE><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></TMPL_IF>
+<meta http-equiv="Cache-Control" content="must-revalidate" />
<title><TMPL_VAR TITLE></title>
-<TMPL_IF NAME="FAVICON">
+<TMPL_IF FAVICON>
<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
</TMPL_IF>
<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
+<TMPL_IF LOCAL_CSS>
+<link rel="stylesheet" href="<TMPL_VAR BASEURL><TMPL_VAR LOCAL_CSS>" type="text/css" />
+<TMPL_ELSE>
<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
-<TMPL_IF NAME="EDITURL">
+</TMPL_IF>
+<TMPL_IF EDITURL>
<link rel="alternate" type="application/x-wiki" title="Redigér denne side" href="<TMPL_VAR EDITURL>" />
</TMPL_IF>
-<TMPL_IF NAME="FEEDLINKS"><TMPL_VAR FEEDLINKS></TMPL_IF>
-<TMPL_IF NAME="META"><TMPL_VAR META></TMPL_IF>
+<TMPL_IF FEEDLINKS><TMPL_VAR FEEDLINKS></TMPL_IF>
+<TMPL_IF RELVCS><TMPL_VAR RELVCS></TMPL_IF>
+<TMPL_IF META><TMPL_VAR META></TMPL_IF>
</head>
<body>
-<div id="container">
+<TMPL_IF HTML5><article class="page"><TMPL_ELSE><div class="page"></TMPL_IF>
-<div class="pageheader">
+<TMPL_IF HTML5><section class="pageheader"><TMPL_ELSE><div class="pageheader"></TMPL_IF>
<TMPL_IF NAME="BRANDING_LOGO_TEXT">
<div id="branding">
@@ -38,91 +52,146 @@
</div>
</TMPL_IF>
-<div class="header">
+<TMPL_IF HTML5><header class="header"><TMPL_ELSE><div class="header"></TMPL_IF>
<span>
<span class="parentlinks">
-<TMPL_LOOP NAME="PARENTLINKS">
-<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>/
+<TMPL_LOOP PARENTLINKS>
+<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>/
</TMPL_LOOP>
</span>
<span class="title">
<TMPL_VAR TITLE>
+<TMPL_IF ISTRANSLATION>
+&nbsp;(<TMPL_VAR PERCENTTRANSLATED>%)
+</TMPL_IF>
</span>
-</span><!--.header-->
-<TMPL_IF NAME="SEARCHFORM">
+</span>
+<TMPL_IF SEARCHFORM>
<TMPL_VAR SEARCHFORM>
</TMPL_IF>
-</div>
+<TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
-<TMPL_IF NAME="HAVE_ACTIONS">
-<div class="actions">
+<TMPL_IF HAVE_ACTIONS>
+<TMPL_IF HTML5><nav class="actions"><TMPL_ELSE><div class="actions"></TMPL_IF>
<ul>
-<TMPL_IF NAME="RECENTCHANGESURL">
+<TMPL_IF EDITURL>
+<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
+</TMPL_IF>
+<TMPL_IF RECENTCHANGESURL>
<li><a href="<TMPL_VAR RECENTCHANGESURL>">SenesteRettelser</a></li>
</TMPL_IF>
-<TMPL_IF NAME="HISTORYURL">
+<TMPL_IF HISTORYURL>
<li><a href="<TMPL_VAR HISTORYURL>">Historik</a></li>
</TMPL_IF>
-<TMPL_IF NAME="DISCUSSIONLINK">
-<li><TMPL_VAR DISCUSSIONLINK><br /></li>
+<TMPL_IF GETSOURCEURL>
+<li><a href="<TMPL_VAR GETSOURCEURL>">Kilde</a></li>
+</TMPL_IF>
+<TMPL_IF PREFSURL>
+<li><a href="<TMPL_VAR PREFSURL>">Indstillinger</a></li>
+</TMPL_IF>
+<TMPL_IF ACTIONS>
+<TMPL_LOOP ACTIONS>
+<li><TMPL_VAR ACTION></li>
+</TMPL_LOOP>
+</TMPL_IF>
+<TMPL_IF COMMENTSLINK>
+<li><TMPL_VAR COMMENTSLINK></li>
+<TMPL_ELSE>
+<TMPL_IF DISCUSSIONLINK>
+<li><TMPL_VAR DISCUSSIONLINK></li>
+</TMPL_IF>
</TMPL_IF>
</ul>
-</div>
+<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
-</div> <!-- .pageheader -->
+
+<TMPL_IF OTHERLANGUAGES>
+<TMPL_IF HTML5><nav id="otherlanguages"><TMPL_ELSE><div id="otherlanguages"></TMPL_IF>
+<ul>
+<TMPL_LOOP OTHERLANGUAGES>
+<li>
+<a href="<TMPL_VAR URL>"><TMPL_VAR LANGUAGE></a>
+<TMPL_IF MASTER>
+(master)
+<TMPL_ELSE>
+&nbsp;(<TMPL_VAR PERCENT>%)
+</TMPL_IF>
+</li>
+</TMPL_LOOP>
+</ul>
+<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
+</TMPL_IF>
+
+<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
<TMPL_IF TOPBAR>
-<div id="topbar">
+<div class="topbar">
<TMPL_VAR TOPBAR>
</div>
</TMPL_IF>
-<div id="wrapper">
-<div id="content">
+<div id="pagebody">
+
+<TMPL_IF HTML5><section id="content"><TMPL_ELSE><div id="content"></TMPL_IF>
<TMPL_VAR CONTENT>
+<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
+
+<TMPL_IF COMMENTS>
+<TMPL_IF HTML5><section id="comments"><TMPL_ELSE><div id="comments"></TMPL_IF>
+<TMPL_VAR COMMENTS>
+<TMPL_IF ADDCOMMENTURL>
+<div class="addcomment">
+<a href="<TMPL_VAR ADDCOMMENTURL>">Tilføj en kommentar</a>
</div>
+<TMPL_ELSE>
+<div class="addcomment">Der er lukket for kommentarer til denne side.</div>
+</TMPL_IF>
+<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
+</TMPL_IF>
+
</div>
<TMPL_IF SIDEBAR>
-<div id="sidebar">
+<TMPL_IF HTML5><aside class="sidebar"><TMPL_ELSE><div class="sidebar"></TMPL_IF>
<TMPL_VAR SIDEBAR>
-</div>
+<TMPL_IF HTML5></aside><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
<TMPL_IF FARBAR>
-<div id="farbar">
+<TMPL_IF HTML5><aside class="farbar"><TMPL_ELSE><div class="farbar"></TMPL_IF>
<TMPL_VAR FARBAR>
-</div>
+<TMPL_IF HTML5></aside><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
-<div id="footer" class="pagefooter">
-<div id="pageinfo">
+<TMPL_IF HTML5><footer id="footer" class="pagefooter"><TMPL_ELSE><div id="footer" class="pagefooter"></TMPL_IF>
+<TMPL_UNLESS DYNAMIC>
+<TMPL_IF HTML5><nav id="pageinfo"><TMPL_ELSE><div id="pageinfo"></TMPL_IF>
-<TMPL_IF NAME="TAGS">
-<div class="tags">
+<TMPL_IF TAGS>
+<TMPL_IF HTML5><nav class="tags"><TMPL_ELSE><div class="tags"></TMPL_IF>
Mærkater:
-<TMPL_LOOP NAME="TAGS">
-<TMPL_VAR NAME=LINK>
+<TMPL_LOOP TAGS>
+<TMPL_VAR LINK>
</TMPL_LOOP>
-</div>
+<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
-<TMPL_IF NAME="BACKLINKS">
-<div id="backlinks">
+<TMPL_IF BACKLINKS>
+<TMPL_IF HTML5><nav id="backlinks"><TMPL_ELSE><div id="backlinks"></TMPL_IF>
Henvisninger:
-<TMPL_LOOP NAME="BACKLINKS">
-<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>
+<TMPL_LOOP BACKLINKS>
+<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
</TMPL_LOOP>
-<TMPL_IF NAME="MORE_BACKLINKS">
+<TMPL_IF MORE_BACKLINKS>
<span class="popup">...
<span class="balloon">
-<TMPL_LOOP NAME="MORE_BACKLINKS">
-<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>
+<TMPL_LOOP MORE_BACKLINKS>
+<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
</TMPL_LOOP>
</span>
</span>
</TMPL_IF>
-</div><!-- #backlinks -->
+<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
<TMPL_IF COPYRIGHT>
@@ -140,16 +209,17 @@ Licens: <TMPL_VAR LICENSE>
</TMPL_IF>
<div class="pagedate">
-Senest redigeret <TMPL_VAR NAME=MTIME>
-<!-- Oprettet <TMPL_VAR NAME=CTIME> -->
+Senest redigeret <TMPL_VAR MTIME>
+<!-- Oprettet <TMPL_VAR CTIME> -->
</div>
-</div><!-- #pageinfo -->
+<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
<TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF>
-<!-- from <TMPL_VAR NAME=WIKINAME> -->
-</div><!-- .pagefooter #footer -->
+</TMPL_UNLESS>
+<!-- fra <TMPL_VAR WIKINAME> -->
+<TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF>
-</div><!-- #container -->
+<TMPL_IF HTML5></article><TMPL_ELSE></div></TMPL_IF>
</body>
</html>
diff --git a/pocreatepage.tmpl b/pocreatepage.tmpl
new file mode 100644
index 0000000..475dad7
--- /dev/null
+++ b/pocreatepage.tmpl
@@ -0,0 +1,3 @@
+<p>
+<b>ADVARSEL</b> denne side skal være skrevet i <TMPL_VAR LANG>.
+</p>
diff --git a/renamesummary.tmpl b/renamesummary.tmpl
index e8a0b00..faad5ff 100644
--- a/renamesummary.tmpl
+++ b/renamesummary.tmpl
@@ -5,20 +5,20 @@
</p>
<TMPL_ELSE>
<p>
-<b>Succesfuldt omdøbt <TMPL_VAR SRC> til <TMPL_VAR DEST>.</b>
+<b>Successfuldt omdøbt <TMPL_VAR SRC> til <TMPL_VAR DEST>.</b>
</p>
<p>
<TMPL_IF FIXEDLINKS>
-De følgende sider er blevet automatisk ændret for at opdatere deres henvisninger til <TMPL_VAR DEST>:
+De følgende sider er blevet automatisk ændret til at opdatere deres henvisninger til <TMPL_VAR DEST>:
<ul>
-<TMPL_LOOP NAME=FIXEDLINKS><li><TMPL_VAR PAGE></li></TMPL_LOOP>
+<TMPL_LOOP FIXEDLINKS><li><TMPL_VAR PAGE></li></TMPL_LOOP>
</ul>
</TMPL_IF>
<TMPL_IF BROKENLINKS_CHECKED>
<TMPL_IF BROKENLINKS>
De følgende sider henviser fortsat til <TMPL_VAR SRC>:
<ul>
-<TMPL_LOOP NAME=BROKENLINKS><li><TMPL_VAR PAGE></li></TMPL_LOOP>
+<TMPL_LOOP BROKENLINKS><li><TMPL_VAR PAGE></li></TMPL_LOOP>
</ul>
</TMPL_IF>
</TMPL_IF>
diff --git a/rssitem.tmpl b/rssitem.tmpl
index 42936a6..a64a4eb 100644
--- a/rssitem.tmpl
+++ b/rssitem.tmpl
@@ -1,26 +1,29 @@
<item>
- <TMPL_IF NAME="AUTHOR">
+<TMPL_IF AUTHOR>
<title><TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE></title>
<dcterms:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dcterms:creator>
- <TMPL_ELSE>
+<TMPL_ELSE>
<title><TMPL_VAR TITLE></title>
- </TMPL_IF>
- <TMPL_IF NAME="GUID">
- <guid isPermaLink="no"><TMPL_VAR GUID></guid>
- <TMPL_ELSE>
- <guid><TMPL_VAR URL></guid>
- </TMPL_IF>
+</TMPL_IF>
+<TMPL_IF GUID>
+ <guid isPermaLink="no"><TMPL_VAR GUID></guid>
+<TMPL_ELSE>
+ <guid><TMPL_VAR URL></guid>
+</TMPL_IF>
<link><TMPL_VAR PERMALINK></link>
- <TMPL_IF NAME="CATEGORIES">
- <TMPL_LOOP NAME="CATEGORIES">
+<TMPL_IF CATEGORIES>
+<TMPL_LOOP CATEGORIES>
<category><TMPL_VAR CATEGORY></category>
- </TMPL_LOOP>
- </TMPL_IF>
+</TMPL_LOOP>
+</TMPL_IF>
<pubDate><TMPL_VAR CDATE_822></pubDate>
<dcterms:modified><TMPL_VAR MDATE_3339></dcterms:modified>
- <TMPL_IF NAME="ENCLOSURE">
+<TMPL_IF ENCLOSURE>
<enclosure url="<TMPL_VAR ENCLOSURE>" type="<TMPL_VAR TYPE>" length="<TMPL_VAR LENGTH>" />
- <TMPL_ELSE>
+<TMPL_ELSE>
<description><TMPL_VAR CONTENT ESCAPE=HTML></description>
- </TMPL_IF>
+</TMPL_IF>
+<TMPL_IF COMMENTSURL>
+ <comments><TMPL_VAR COMMENTSURL></comments>
+</TMPL_IF>
</item>
diff --git a/searchform.tmpl b/searchform.tmpl
index afae2eb..7ac724f 100644
--- a/searchform.tmpl
+++ b/searchform.tmpl
@@ -1,5 +1,6 @@
<form method="get" action="<TMPL_VAR SEARCHACTION>" id="searchform">
<div>
-<input type="text" id="searchbox" name="P" value="" size="16" />
+<input type="text" id="searchbox" name="P" value="" size="16"
+<TMPL_IF HTML5>placeholder="søg"</TMPL_IF> />
</div>
</form>
diff --git a/searchquery.tmpl b/searchquery.tmpl
index b8943fe..7408fa8 100644
--- a/searchquery.tmpl
+++ b/searchquery.tmpl
@@ -25,7 +25,7 @@ $def{PREV,$if{$ne{$topdoc,0},<INPUT TYPE=submit NAME="&lt;" VALUE="Forrige">}}
$def{PAGE,<INPUT TYPE=submit NAME="[" VALUE="$1">}
-$def{SPAGE,<INPUT TYPE=submit NAME="[" VALUE="$1" DISABLED=disabled>}
+$def{SPAGE,<INPUT TYPE=submit NAME="[" VALUE="$1" DISABLED=deaktiveret>}
$def{NEXT,$if{$ne{$last,$msize},<INPUT TYPE=submit NAME="&gt;" VALUE="Næste">}}
@@ -33,28 +33,28 @@ $def{NEXT,$if{$ne{$last,$msize},<INPUT TYPE=submit NAME="&gt;" VALUE="Næste">}}
<FORM NAME=P METHOD=GET
ACTION="$html{$env{CGIURL}}" TARGET="_top">
-<center>
+<div style="text-align:center">
<INPUT NAME=P VALUE="$html{$query}" SIZE=65>
<INPUT TYPE=SUBMIT VALUE="Søg">
$env{HELPLINK}
<hr>
<SELECT NAME=DEFAULTOP>
-<OPTION VALUE=or $if{$eq{$defaultop,or},SELECTED}>Matcher ethvert ord
-<OPTION VALUE=and $if{$eq{$defaultop,and},SELECTED}>Matcher alle ord
+<OPTION VALUE=or $if{$eq{$defaultop,or},SELECTED}>Modsvarer ethvert ord
+<OPTION VALUE=and $if{$eq{$defaultop,and},SELECTED}>Modsvarer alle ord
</SELECT>
$or{$html{$error},
$if{$eq{$msize,0},
-$if{$query,Ingen dokumenter matcher din forespørgsel,
+$if{$query,Ingen dokumenter modsvarer din forespørgsel,
<hr>Gennemsøgte $nice{$dbsize} dokumenter
},
$if{$not{$msizeexact},
- $nice{$add{$topdoc,1}}-$nice{$last} af omkring $nice{$msize} matches,
+ $nice{$add{$topdoc,1}}-$nice{$last} ud af omkring $nice{$msize} fundne,
$if{$and{$eq{$last,$msize},$eq{$topdoc,0}},
- Alle $nice{$msize} matches,
- $nice{$add{$topdoc,1}}$if{$ne{$add{$topdoc,1},$last},-$nice{$last}} af nøjagtigt $nice{$msize} matches}
+ Alle $nice{$msize} fundne,
+ $nice{$add{$topdoc,1}}$if{$ne{$add{$topdoc,1},$last},-$nice{$last}} ud af nøjagtigt $nice{$msize} fundne}
}
<hr>
-</center>
+</div>
$list{$map{$queryterms,$list{$html{$uniq{$unstem{$_}}},<b>,</b>/<b>,</b>}:&nbsp;$nice{$freq{$_}}},Udtryks hyppigheder: ,$. ,}
<br><small>Søgning tog $time sekunder</small>
<table>
@@ -73,12 +73,13 @@ $if{$field{size},<span title="$html{$field{size}} bytes">Størrelse: <b>$html{$f
<td><B><A HREF="$field{url}">$html{$or{$field{caption},$field{title},$field{url},Uden navn}}</A></B><BR>
<small>$highlight{$field{sample},$terms}$if{$field{sample},...}</small><br>
<small>
-$percentage% relevant$. matchede:
+$percentage% relevant$. fundne:
<i>$list{$map{$terms,$html{$prettyterm{$_}}},$. ,</i> og <i>}</i></small>${for lynx:}<p></td></tr>}
</table>
-<br><center>
+<br />
+<div style="text-align:center">
${suppress next, prev, and page links if there's only one page}
$if{$ne{$lastpage,1},
$set{a,$if{$opt{pagelink_height}, HEIGHT=$opt{pagelink_height}}$if{$opt{pagelink_width}, WIDTH=$opt{pagelink_width}}}
@@ -97,7 +98,7 @@ $if{$ne{$opt{y},$lastpage},...}
$NEXT
}
}}
-</center><br>
+</div><br />
$if{$dbname,<INPUT TYPE=hidden NAME=DB VALUE="$html{$dbname}">}
$if{$ne{$topdoc,0},<INPUT TYPE=hidden NAME=TOPDOC VALUE=$topdoc>}
$if{$ne{$hitsperpage,10},<INPUT TYPE=hidden NAME=HITSPERPAGE VALUE=$hitsperpage>}
diff --git a/titlepage.tmpl b/titlepage.tmpl
index f5cd5bc..6326bab 100644
--- a/titlepage.tmpl
+++ b/titlepage.tmpl
@@ -1 +1,7 @@
-<p><a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a></p>
+<p>
+<TMPL_IF PERMALINK>
+<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
+<TMPL_ELSE>
+<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
+</TMPL_IF>
+</p>