diff options
author | Jonas Smedegaard <dr@jones.dk> | 2007-10-16 17:39:27 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2007-10-16 17:39:27 +0200 |
commit | 282ce91522affa27606bc5b835d8a7d7a91b4df5 (patch) | |
tree | 60a9f4afef387634fbe49fca38d72acd29406d33 |
Grab upstream pages from version 2.9.
-rw-r--r-- | aggregatepost.tmpl | 12 | ||||
-rw-r--r-- | archivepage.tmpl | 7 | ||||
-rw-r--r-- | atomitem.tmpl | 25 | ||||
-rw-r--r-- | atompage.tmpl | 15 | ||||
-rw-r--r-- | blogpost.tmpl | 16 | ||||
-rw-r--r-- | editpage.tmpl | 72 | ||||
-rw-r--r-- | estseek.conf | 31 | ||||
-rw-r--r-- | feedlink.tmpl | 8 | ||||
-rw-r--r-- | inlinepage.tmpl | 58 | ||||
-rw-r--r-- | misc.tmpl | 31 | ||||
-rw-r--r-- | notifymail.tmpl | 4 | ||||
-rw-r--r-- | page.tmpl | 115 | ||||
-rw-r--r-- | passwordmail.tmpl | 10 | ||||
-rw-r--r-- | recentchanges.tmpl | 71 | ||||
-rw-r--r-- | rssitem.tmpl | 22 | ||||
-rw-r--r-- | rsspage.tmpl | 11 | ||||
-rw-r--r-- | searchform.tmpl | 7 | ||||
-rw-r--r-- | titlepage.tmpl | 1 |
18 files changed, 516 insertions, 0 deletions
diff --git a/aggregatepost.tmpl b/aggregatepost.tmpl new file mode 100644 index 0000000..5b0f2f4 --- /dev/null +++ b/aggregatepost.tmpl @@ -0,0 +1,12 @@ +<TMPL_VAR CONTENT> +<TMPL_LOOP NAME="TAGS"> +[[tag <TMPL_VAR TAG>]] +</TMPL_LOOP> +<TMPL_IF NAME="TITLE"> +[[meta title="<TMPL_VAR NAME="TITLE" ESCAPE=HTML>"]] +</TMPL_IF> +<TMPL_IF NAME="PERMALINK"> +[[meta permalink="<TMPL_VAR NAME="PERMALINK" ESCAPE=HTML>"]] +</TMPL_IF> +[[meta author="<TMPL_VAR NAME="NAME" ESCAPE=HTML>"]] +[[meta authorurl="<TMPL_VAR NAME="URL" ESCAPE=HTML>"]] diff --git a/archivepage.tmpl b/archivepage.tmpl new file mode 100644 index 0000000..6bc789d --- /dev/null +++ b/archivepage.tmpl @@ -0,0 +1,7 @@ +<p> +<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a><br /> +<i> +Posted <TMPL_VAR CTIME> +</i> + +</p> diff --git a/atomitem.tmpl b/atomitem.tmpl new file mode 100644 index 0000000..4dc2d07 --- /dev/null +++ b/atomitem.tmpl @@ -0,0 +1,25 @@ +<entry> + <title><TMPL_VAR TITLE></title> + <TMPL_IF NAME="AUTHOR"> + <author><TMPL_VAR AUTHOR ESCAPE=HTML></author> + <TMPL_ELSE> + </TMPL_IF> + <id><TMPL_VAR URL></id> + <link href="<TMPL_VAR PERMALINK>"/> + <TMPL_IF NAME="CATEGORIES"> + <TMPL_LOOP NAME="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="xhtml" xml:lang="en"> + <div xmlns="http://www.w3.org/1999/xhtml"> + <TMPL_VAR CONTENT> + </div> + </content> + </TMPL_IF> +</entry> diff --git a/atompage.tmpl b/atompage.tmpl new file mode 100644 index 0000000..1bca3e7 --- /dev/null +++ b/atompage.tmpl @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> + +<feed xmlns="http://www.w3.org/2005/Atom"> +<title><TMPL_VAR TITLE></title> +<link href="<TMPL_VAR PAGEURL>"/> +<link href="<TMPL_VAR FEEDURL>" rel="self"/> +<author> +<name><TMPL_VAR WIKINAME></name> +</author> +<id><TMPL_VAR PAGEURL></id> +<subtitle type="html"><TMPL_VAR FEEDDESC ESCAPE=HTML></subtitle> +<generator uri="http://ikiwiki.info/" version="<TMPL_VAR VERSION>">ikiwiki</generator> +<updated><TMPL_VAR FEEDDATE></updated> +<TMPL_VAR CONTENT> +</feed> diff --git a/blogpost.tmpl b/blogpost.tmpl new file mode 100644 index 0000000..7eeede6 --- /dev/null +++ b/blogpost.tmpl @@ -0,0 +1,16 @@ +<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> +<TMPL_IF NAME="ATOMURL"> +<a class="feedbutton" type="application/atom+xml" href="<TMPL_VAR NAME=ATOMURL>">Atom</a> +</TMPL_IF> +<input type="hidden" name="do" value="blog" /> +<input type="hidden" name="from" value="<TMPL_VAR ROOTPAGE>" /> +<input type="hidden" name="subpage" value="1" /> +<TMPL_VAR POSTFORMTEXT> +<input name="title" size="40" /> +<input type="submit" value="Edit" /> +</div> +</form> diff --git a/editpage.tmpl b/editpage.tmpl new file mode 100644 index 0000000..cf4950e --- /dev/null +++ b/editpage.tmpl @@ -0,0 +1,72 @@ +<TMPL_IF NAME="PAGE_CONFLICT"> +<p> +<b>Your changes conflict with other changes made to the page.</b> +</p> +<p> +Conflict markers have been inserted into the page content. Reconcile the +conflict and commit again to save your changes. +</p> +</TMPL_IF> +<TMPL_IF NAME="FAILED_SAVE"> +<p> +<b>Failed to save your changes.</b> +</p> +<p> +Your changes were not able to be saved to disk. The system gave the error: +<blockquote> +<TMPL_VAR ERROR_MESSAGE> +</blockquote> +Your changes are preserved below, and you can try again to save them. +</p> +</TMPL_IF> +<TMPL_IF NAME="PAGE_GONE"> +<p> +<b>The page you were editing has disappeared.</b> +</p> +<p> +Perhaps someone else has deleted it or moved it. If you want to recreate +this page with your text, click "Save Page" again. +</p> +</TMPL_IF> +<TMPL_IF NAME="CREATION_CONFLICT"> +<p> +<b>While you were creating this page, someone else independently created a page +with the same name.</b> +</p> +<p> +The edit box below contains the page's current content, followed by the +content you entered previously, to allow you to merge the two +together before saving. +</p> +</TMPL_IF> +<TMPL_VAR FORM-START> +<TMPL_VAR FIELD-DO> +<TMPL_VAR FIELD-FROM> +<TMPL_VAR FIELD-RCSINFO> +<TMPL_VAR FIELD-NEWFILE> +<TMPL_IF NAME="PAGE_SELECT"> +Page location: <TMPL_VAR FIELD-PAGE> +Page type: <TMPL_VAR FIELD-TYPE> +<TMPL_ELSE> +<br /> +<TMPL_VAR FIELD-PAGE> +<TMPL_VAR FIELD-TYPE> +</TMPL_IF> +<TMPL_VAR FIELD-EDITCONTENT><br /> +<TMPL_IF NAME="CAN_COMMIT"> +Optional comment about this change:<br /> +<TMPL_VAR FIELD-COMMENTS><br /> +</TMPL_IF> +<TMPL_VAR FORM-SUBMIT> +<TMPL_VAR HELPONFORMATTINGLINK> +<TMPL_VAR FORM-END> + +<TMPL_IF NAME="PAGE_PREVIEW"> +<hr /> +<div class="header"> +<span>Page preview:</span> +</div> +<div id="preview"> +<TMPL_VAR PAGE_PREVIEW> +</div> +</TMPL_IF> diff --git a/estseek.conf b/estseek.conf new file mode 100644 index 0000000..43bd303 --- /dev/null +++ b/estseek.conf @@ -0,0 +1,31 @@ +indexname: <TMPL_VAR INDEX> +tmplfile: <TMPL_VAR TMPLFILE> +topfile: /dev/null +logfile: +logformat: +replace: ^file://<TMPL_VAR DESTDIR>{{!}}<TMPL_VAR URL> +showreal: false +perpage: 10,20,30,40,50,100 +attrselect: false +showscore: false +extattr: date|Date +snipwwidth: 480 +sniphwidth: 96 +snipawidth: 96 +condgstep: 2 +dotfidf: true +scancheck: false +smplphrase: true +phraseform: 2 +candetail: true +smlrvnum: 0 +smlrtune: 16 1024 4096 +clipview: 2 +relkeynum: 0 +spcache: +wildmax: 256 +qxpndcmd: +helpfile: estseek.help +deftitle: +attrwidth: 80 +dispproxy: diff --git a/feedlink.tmpl b/feedlink.tmpl new file mode 100644 index 0000000..2963156 --- /dev/null +++ b/feedlink.tmpl @@ -0,0 +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> +<TMPL_IF NAME="ATOMURL"> +<a class="feedbutton" type="application/atom+xml" href="<TMPL_VAR NAME=ATOMURL>">Atom</a> +</TMPL_IF> +</div> diff --git a/inlinepage.tmpl b/inlinepage.tmpl new file mode 100644 index 0000000..a736dac --- /dev/null +++ b/inlinepage.tmpl @@ -0,0 +1,58 @@ +<div class="inlinepage"> +<TMPL_IF NAME="AUTHOR"> +<span class="author"> +<TMPL_IF NAME="AUTHORURL"> +<a href="<TMPL_VAR NAME=AUTHORURL>"><TMPL_VAR NAME=AUTHOR></a> +<TMPL_ELSE> +<TMPL_VAR NAME=AUTHOR> +</TMPL_IF> +</span> +</TMPL_IF> +<span class="header"> +<TMPL_IF NAME="PERMALINK"> +<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a> +<TMPL_ELSE> +<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a> +</TMPL_IF> +</span> +<TMPL_VAR CONTENT> + +<span class="pagedate"> +Posted <TMPL_VAR CTIME> +</span> + +<TMPL_IF NAME="TAGS"> +<span class="tags"> +Tags: +<TMPL_LOOP NAME="TAGS"> +<TMPL_VAR NAME=LINK> +</TMPL_LOOP> +</span> +</TMPL_IF> + +<TMPL_IF COPYRIGHT> +<div class="pagecopyright"> +<TMPL_VAR COPYRIGHT> +</div> +</TMPL_IF> + +<TMPL_IF LICENSE> +<div class="pagelicense"> +License: <TMPL_VAR LICENSE> +</div> +</TMPL_IF> + +<TMPL_IF NAME="HAVE_ACTIONS"> +<div class="actions"> +<ul> +<TMPL_IF NAME="EDITURL"> +<li><a href="<TMPL_VAR EDITURL>">Edit</a></li> +</TMPL_IF> +<TMPL_IF NAME="DISCUSSIONLINK"> +<li><TMPL_VAR DISCUSSIONLINK></li> +</TMPL_IF> +</ul> +</div> +</TMPL_IF> + +</div> diff --git a/misc.tmpl b/misc.tmpl new file mode 100644 index 0000000..32e2c93 --- /dev/null +++ b/misc.tmpl @@ -0,0 +1,31 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html> +<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> +</head> +<body> + +<div class="header"> +<span> +<TMPL_VAR INDEXLINK>/ <TMPL_VAR TITLE> +</span> +</div> + +<div id="content"> +<TMPL_VAR PAGEBODY> +</div> + +<div id="footer"> +<!-- from <TMPL_VAR NAME=WIKINAME> --> +</div> + +</body> +</html> diff --git a/notifymail.tmpl b/notifymail.tmpl new file mode 100644 index 0000000..e3a1dd3 --- /dev/null +++ b/notifymail.tmpl @@ -0,0 +1,4 @@ +The following change was made by <TMPL_VAR USER>: + +<TMPL_VAR MESSAGE> +<TMPL_VAR DIFF> diff --git a/page.tmpl b/page.tmpl new file mode 100644 index 0000000..a02345f --- /dev/null +++ b/page.tmpl @@ -0,0 +1,115 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title><TMPL_VAR TITLE></title> +<TMPL_IF NAME="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" /> +<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" /> +<TMPL_IF NAME="FEEDLINKS"><TMPL_VAR FEEDLINKS></TMPL_IF> +<TMPL_IF NAME="META"><TMPL_VAR META></TMPL_IF> +</head> +<body> + +<div class="header"> +<span> +<TMPL_LOOP NAME="PARENTLINKS"> +<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>/ +</TMPL_LOOP> +<TMPL_VAR TITLE> +</span> +<TMPL_IF NAME="SEARCHFORM"> +<TMPL_VAR SEARCHFORM> +</TMPL_IF> +</div> + +<TMPL_IF NAME="HAVE_ACTIONS"> +<div class="actions"> +<ul> +<TMPL_IF NAME="EDITURL"> +<li><a href="<TMPL_VAR EDITURL>">Edit</a></li> +</TMPL_IF> +<TMPL_IF NAME="RECENTCHANGESURL"> +<li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li> +</TMPL_IF> +<TMPL_IF NAME="HISTORYURL"> +<li><a href="<TMPL_VAR HISTORYURL>">History</a></li> +</TMPL_IF> +<TMPL_IF NAME="PREFSURL"> +<li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li> +</TMPL_IF> +<TMPL_IF NAME="DISCUSSIONLINK"> +<li><TMPL_VAR DISCUSSIONLINK><br /></li> +</TMPL_IF> +</ul> +</div> +</TMPL_IF> + +<TMPL_IF SIDEBAR> +<div id="sidebar"> +<TMPL_VAR SIDEBAR> +</div> +</TMPL_IF> + +<div id="content"> +<TMPL_VAR CONTENT> +</div> + +<div id="footer"> +<div id="pageinfo"> + +<TMPL_IF NAME="TAGS"> +<div class="tags"> +Tags: +<TMPL_LOOP NAME="TAGS"> +<TMPL_VAR NAME=LINK> +</TMPL_LOOP> +</div> +</TMPL_IF> + +<TMPL_IF NAME="BACKLINKS"> +<div id="backlinks"> +Links: +<TMPL_LOOP NAME="BACKLINKS"> +<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a> +</TMPL_LOOP> +<TMPL_IF NAME="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> +</span> +</span> +</TMPL_IF> +</div> +</TMPL_IF> + +<TMPL_IF COPYRIGHT> +<div class="pagecopyright"> +<a name="pagecopyright"></a> +<TMPL_VAR COPYRIGHT> +</div> +</TMPL_IF> + +<TMPL_IF LICENSE> +<div class="pagelicense"> +<a name="pagelicense"></a> +License: <TMPL_VAR LICENSE> +</div> +</TMPL_IF> + +<div class="pagedate"> +Last edited <TMPL_VAR NAME=MTIME> +</div> + +</div> +<TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF> +<!-- from <TMPL_VAR NAME=WIKINAME> --> +</div> + +</body> +</html> diff --git a/passwordmail.tmpl b/passwordmail.tmpl new file mode 100644 index 0000000..8484d39 --- /dev/null +++ b/passwordmail.tmpl @@ -0,0 +1,10 @@ +Someone[1], possibly you, requested that you be emailed the password for user +<TMPL_VAR USER_NAME> on <TMPL_VAR WIKINAME>[2]. + +The password is: <TMPL_VAR USER_PASSWORD> + +-- +ikiwiki + +[1] The user requesting the password was at IP address <TMPL_VAR REMOTE_ADDR> +[2] Located at <TMPL_VAR WIKIURL> diff --git a/recentchanges.tmpl b/recentchanges.tmpl new file mode 100644 index 0000000..e954503 --- /dev/null +++ b/recentchanges.tmpl @@ -0,0 +1,71 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html> +<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> +</head> +<body> + +<div class="header"> +<span> +<TMPL_VAR INDEXLINK>/ <TMPL_VAR TITLE> +</span> +</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> diff --git a/rssitem.tmpl b/rssitem.tmpl new file mode 100644 index 0000000..f22e5e3 --- /dev/null +++ b/rssitem.tmpl @@ -0,0 +1,22 @@ +<item> + <TMPL_IF NAME="AUTHOR"> + <title><TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE></title> + <dcterms:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dcterms:creator> + <TMPL_ELSE> + <title><TMPL_VAR TITLE></title> + </TMPL_IF> + <guid><TMPL_VAR URL></guid> + <link><TMPL_VAR PERMALINK></link> + <TMPL_IF NAME="CATEGORIES"> + <TMPL_LOOP NAME="CATEGORIES"> + <category><TMPL_VAR CATEGORY></category> + </TMPL_LOOP> + </TMPL_IF> + <pubDate><TMPL_VAR CDATE_822></pubDate> + <dcterms:modified><TMPL_VAR MDATE_3339></dcterms:modified> + <TMPL_IF NAME="ENCLOSURE"> + <enclosure url="<TMPL_VAR ENCLOSURE>" type="<TMPL_VAR TYPE>" length="<TMPL_VAR LENGTH>" /> + <TMPL_ELSE> + <description><![CDATA[<TMPL_VAR CONTENT>]]></description> + </TMPL_IF> +</item> diff --git a/rsspage.tmpl b/rsspage.tmpl new file mode 100644 index 0000000..e54094a --- /dev/null +++ b/rsspage.tmpl @@ -0,0 +1,11 @@ +<?xml version="1.0"?> +<rss version="2.0" + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:dcterms="http://purl.org/dc/terms/" > +<channel> +<title><TMPL_VAR TITLE></title> +<link><TMPL_VAR PAGEURL></link> +<description><TMPL_VAR FEEDDESC ESCAPE=HTML></description> +<TMPL_VAR CONTENT> +</channel> +</rss> diff --git a/searchform.tmpl b/searchform.tmpl new file mode 100644 index 0000000..7c4fdb0 --- /dev/null +++ b/searchform.tmpl @@ -0,0 +1,7 @@ +<form method="get" action="<TMPL_VAR SEARCHACTION>" id="searchform"> +<div> +<input type="text" name="phrase" value="" size="16" /> +<input type="hidden" name="enc" value="UTF-8" /> +<input type="hidden" name="do" value="hyperestraier" /> +</div> +</form> diff --git a/titlepage.tmpl b/titlepage.tmpl new file mode 100644 index 0000000..f5cd5bc --- /dev/null +++ b/titlepage.tmpl @@ -0,0 +1 @@ +<p><a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a></p> |