From 29355a1653a12742928ce563e4c077a77f67c9f9 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 6 Sep 2009 04:26:13 -0700 Subject: Import of unversioned piny code. --- srv/templates/aggregatepost.tmpl | 15 ++++ srv/templates/archivepage.tmpl | 7 ++ srv/templates/atomitem.tmpl | 48 +++++++++++ srv/templates/atompage.tmpl | 39 +++++++++ srv/templates/autoindex.tmpl | 1 + srv/templates/blogpost.tmpl | 16 ++++ srv/templates/change.tmpl | 46 +++++++++++ srv/templates/comment.tmpl | 59 ++++++++++++++ srv/templates/commentmoderation.tmpl | 29 +++++++ srv/templates/editcomment.tmpl | 30 +++++++ srv/templates/editconflict.tmpl | 7 ++ srv/templates/editcreationconflict.tmpl | 9 +++ srv/templates/editfailedsave.tmpl | 10 +++ srv/templates/editpage.tmpl | 50 ++++++++++++ srv/templates/editpagegone.tmpl | 7 ++ srv/templates/feedlink.tmpl | 8 ++ srv/templates/googleform.tmpl | 6 ++ srv/templates/inlinepage.tmpl | 74 +++++++++++++++++ srv/templates/misc.tmpl | 37 +++++++++ srv/templates/page.tmpl | 138 ++++++++++++++++++++++++++++++++ srv/templates/passwordmail.tmpl | 15 ++++ srv/templates/recentchanges.tmpl | 7 ++ srv/templates/renamesummary.tmpl | 26 ++++++ srv/templates/rssitem.tmpl | 29 +++++++ srv/templates/rsspage.tmpl | 11 +++ srv/templates/searchform.tmpl | 5 ++ srv/templates/searchquery.tmpl | 112 ++++++++++++++++++++++++++ srv/templates/titlepage.tmpl | 1 + 28 files changed, 842 insertions(+) create mode 100644 srv/templates/aggregatepost.tmpl create mode 100644 srv/templates/archivepage.tmpl create mode 100644 srv/templates/atomitem.tmpl create mode 100644 srv/templates/atompage.tmpl create mode 100644 srv/templates/autoindex.tmpl create mode 100644 srv/templates/blogpost.tmpl create mode 100644 srv/templates/change.tmpl create mode 100644 srv/templates/comment.tmpl create mode 100644 srv/templates/commentmoderation.tmpl create mode 100644 srv/templates/editcomment.tmpl create mode 100644 srv/templates/editconflict.tmpl create mode 100644 srv/templates/editcreationconflict.tmpl create mode 100644 srv/templates/editfailedsave.tmpl create mode 100644 srv/templates/editpage.tmpl create mode 100644 srv/templates/editpagegone.tmpl create mode 100644 srv/templates/feedlink.tmpl create mode 100644 srv/templates/googleform.tmpl create mode 100644 srv/templates/inlinepage.tmpl create mode 100644 srv/templates/misc.tmpl create mode 100644 srv/templates/page.tmpl create mode 100644 srv/templates/passwordmail.tmpl create mode 100644 srv/templates/recentchanges.tmpl create mode 100644 srv/templates/renamesummary.tmpl create mode 100644 srv/templates/rssitem.tmpl create mode 100644 srv/templates/rsspage.tmpl create mode 100644 srv/templates/searchform.tmpl create mode 100644 srv/templates/searchquery.tmpl create mode 100644 srv/templates/titlepage.tmpl (limited to 'srv/templates') diff --git a/srv/templates/aggregatepost.tmpl b/srv/templates/aggregatepost.tmpl new file mode 100644 index 0000000..8b89367 --- /dev/null +++ b/srv/templates/aggregatepost.tmpl @@ -0,0 +1,15 @@ + + +[[!tag ]] + + +[[!meta title=""]] + + +[[!meta permalink=""]] + + +[[!meta copyright=""]] + +[[!meta author=""]] +[[!meta authorurl=""]] diff --git a/srv/templates/archivepage.tmpl b/srv/templates/archivepage.tmpl new file mode 100644 index 0000000..6bc789d --- /dev/null +++ b/srv/templates/archivepage.tmpl @@ -0,0 +1,7 @@ +

+
+ +Posted + + +

diff --git a/srv/templates/atomitem.tmpl b/srv/templates/atomitem.tmpl new file mode 100644 index 0000000..768695a --- /dev/null +++ b/srv/templates/atomitem.tmpl @@ -0,0 +1,48 @@ + + <TMPL_VAR TITLE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + " type="text/html" /> + + + " type="application/atom+xml" /> + + diff --git a/srv/templates/atompage.tmpl b/srv/templates/atompage.tmpl new file mode 100644 index 0000000..dcb89ab --- /dev/null +++ b/srv/templates/atompage.tmpl @@ -0,0 +1,39 @@ + + + +<TMPL_VAR TITLE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ikiwiki + + + diff --git a/srv/templates/autoindex.tmpl b/srv/templates/autoindex.tmpl new file mode 100644 index 0000000..d5ec3b8 --- /dev/null +++ b/srv/templates/autoindex.tmpl @@ -0,0 +1 @@ +[[!map pages="/* and ! /*/*"]] diff --git a/srv/templates/blogpost.tmpl b/srv/templates/blogpost.tmpl new file mode 100644 index 0000000..7eeede6 --- /dev/null +++ b/srv/templates/blogpost.tmpl @@ -0,0 +1,16 @@ +
+
+ +RSS + + +Atom + + + + + + + +
+
diff --git a/srv/templates/change.tmpl b/srv/templates/change.tmpl new file mode 100644 index 0000000..0e61a80 --- /dev/null +++ b/srv/templates/change.tmpl @@ -0,0 +1,46 @@ +[[!meta author=""""""]] + +[[!meta authorurl=""""""]] + +[[!meta title="""change to on """]] + +[[!meta permalink=""]] + + +
+ + +
+
+
+
+ +
+
+
+
+
+
+ diff --git a/srv/templates/comment.tmpl b/srv/templates/comment.tmpl new file mode 100644 index 0000000..fb76ea0 --- /dev/null +++ b/srv/templates/comment.tmpl @@ -0,0 +1,59 @@ +
+ +
+ + + + + +
+ +
+ +
+ +
+Comment by + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +— +
+ + +
+ +
+
+ +
diff --git a/srv/templates/commentmoderation.tmpl b/srv/templates/commentmoderation.tmpl new file mode 100644 index 0000000..e91d314 --- /dev/null +++ b/srv/templates/commentmoderation.tmpl @@ -0,0 +1,29 @@ + +
+
+ + + +Reject +all comments marked Defer +
+ +
+
+ +
+Defer +Accept +Reject +
+
+
+ +Reject +all comments marked Defer +
+ +

+No comments need moderation at this time. +

+
diff --git a/srv/templates/editcomment.tmpl b/srv/templates/editcomment.tmpl new file mode 100644 index 0000000..7590cdf --- /dev/null +++ b/srv/templates/editcomment.tmpl @@ -0,0 +1,30 @@ +
+ + + + + + + +Name: (optional)
+Website: (optional)
+
+
+Subject:
+
+
+IkiWiki directives ([[!directive]]) are not allowed in comments on this wiki.
+ + + + +
+
+Comment preview: +
+
+ +
+
+ +
diff --git a/srv/templates/editconflict.tmpl b/srv/templates/editconflict.tmpl new file mode 100644 index 0000000..1252033 --- /dev/null +++ b/srv/templates/editconflict.tmpl @@ -0,0 +1,7 @@ +

+Your changes conflict with other changes made to the page. +

+

+Conflict markers have been inserted into the page content. Reconcile the +conflict and commit again to save your changes. +

diff --git a/srv/templates/editcreationconflict.tmpl b/srv/templates/editcreationconflict.tmpl new file mode 100644 index 0000000..c99102f --- /dev/null +++ b/srv/templates/editcreationconflict.tmpl @@ -0,0 +1,9 @@ +

+While you were creating this page, someone else independently created a page +with the same name. +

+

+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. +

diff --git a/srv/templates/editfailedsave.tmpl b/srv/templates/editfailedsave.tmpl new file mode 100644 index 0000000..5184f7d --- /dev/null +++ b/srv/templates/editfailedsave.tmpl @@ -0,0 +1,10 @@ +

+Failed to save your changes. +

+

+Your changes were not able to be saved to disk. The system gave the error: +

+ +
+Your changes are preserved below, and you can try again to save them. +

diff --git a/srv/templates/editpage.tmpl b/srv/templates/editpage.tmpl new file mode 100644 index 0000000..b1cf015 --- /dev/null +++ b/srv/templates/editpage.tmpl @@ -0,0 +1,50 @@ +
+ + + + + + + + + +Page location: +Page type: + +
+ + +
+
+ +Optional comment about this change:
+
+
+ + + +Attachments +
+ + + + + + + + +
+
+
+ + + + +
+
+Page preview: +
+
+ +
+
diff --git a/srv/templates/editpagegone.tmpl b/srv/templates/editpagegone.tmpl new file mode 100644 index 0000000..2eed03a --- /dev/null +++ b/srv/templates/editpagegone.tmpl @@ -0,0 +1,7 @@ +

+The page you were editing has disappeared. +

+

+Perhaps someone else has deleted it or moved it. If you want to recreate +this page with your text, click "Save Page" again. +

diff --git a/srv/templates/feedlink.tmpl b/srv/templates/feedlink.tmpl new file mode 100644 index 0000000..2963156 --- /dev/null +++ b/srv/templates/feedlink.tmpl @@ -0,0 +1,8 @@ + diff --git a/srv/templates/googleform.tmpl b/srv/templates/googleform.tmpl new file mode 100644 index 0000000..e2d4a1f --- /dev/null +++ b/srv/templates/googleform.tmpl @@ -0,0 +1,6 @@ +
+
+ + +
+
diff --git a/srv/templates/inlinepage.tmpl b/srv/templates/inlinepage.tmpl new file mode 100644 index 0000000..3c0b933 --- /dev/null +++ b/srv/templates/inlinepage.tmpl @@ -0,0 +1,74 @@ +
+ +
+ + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ + +Posted + + + + +Tags: + + + + + + + + + + + +
+License: +
+
+ + +
+
    + +
  • Edit
  • +
    + +
  • + + +
  • +
    +
    +
+
+
+ +
+ +
diff --git a/srv/templates/misc.tmpl b/srv/templates/misc.tmpl new file mode 100644 index 0000000..0de56ed --- /dev/null +++ b/srv/templates/misc.tmpl @@ -0,0 +1,37 @@ + + + + + + + + + +<TMPL_VAR TITLE> + + + + + + + + + + +
+ +
+ + + + + diff --git a/srv/templates/page.tmpl b/srv/templates/page.tmpl new file mode 100644 index 0000000..cda5c71 --- /dev/null +++ b/srv/templates/page.tmpl @@ -0,0 +1,138 @@ + + + + +<TMPL_VAR TITLE> + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + + +
Comments on this page are closed.
+
+
+
+ + + + + diff --git a/srv/templates/passwordmail.tmpl b/srv/templates/passwordmail.tmpl new file mode 100644 index 0000000..aa8a68c --- /dev/null +++ b/srv/templates/passwordmail.tmpl @@ -0,0 +1,15 @@ +Someone[1], possibly you, requested that the password for + on [2] be reset. + +To change your password, visit the following url, and enter a new password: + + + +This url can only be used once to change your password, and it will also +stop working the next time you successfully log in. + +-- +ikiwiki + +[1] Their IP address was +[2] Located at diff --git a/srv/templates/recentchanges.tmpl b/srv/templates/recentchanges.tmpl new file mode 100644 index 0000000..340a157 --- /dev/null +++ b/srv/templates/recentchanges.tmpl @@ -0,0 +1,7 @@ + +
+ + + +
+
diff --git a/srv/templates/renamesummary.tmpl b/srv/templates/renamesummary.tmpl new file mode 100644 index 0000000..60f81b3 --- /dev/null +++ b/srv/templates/renamesummary.tmpl @@ -0,0 +1,26 @@ + +

+Failed to rename to : + +

+ +

+Successfully renamed to . +

+

+ +The following pages have been automatically modified to update their links to : +

    +
  • +
+
+ + +The following pages still link to : +
    +
  • +
+
+
+

+ diff --git a/srv/templates/rssitem.tmpl b/srv/templates/rssitem.tmpl new file mode 100644 index 0000000..a61b92b --- /dev/null +++ b/srv/templates/rssitem.tmpl @@ -0,0 +1,29 @@ + + + <TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE> + + + <TMPL_VAR TITLE> + + + + + + + + + + + + + + + + + + + + + + + diff --git a/srv/templates/rsspage.tmpl b/srv/templates/rsspage.tmpl new file mode 100644 index 0000000..e54094a --- /dev/null +++ b/srv/templates/rsspage.tmpl @@ -0,0 +1,11 @@ + + + +<TMPL_VAR TITLE> + + + + + diff --git a/srv/templates/searchform.tmpl b/srv/templates/searchform.tmpl new file mode 100644 index 0000000..afae2eb --- /dev/null +++ b/srv/templates/searchform.tmpl @@ -0,0 +1,5 @@ +
+
+ +
+
diff --git a/srv/templates/searchquery.tmpl b/srv/templates/searchquery.tmpl new file mode 100644 index 0000000..782b12c --- /dev/null +++ b/srv/templates/searchquery.tmpl @@ -0,0 +1,112 @@ +$setmap{prefix,title,S} +$setmap{prefix,link,XLINK} +$set{thousand,$.}$set{decimal,.}$setmap{BN,,Any Country,uk,England,fr,France} +${ +$def{PREV, +$if{$ne{$topdoc,0},, +} +} + +$def{NEXT, +$if{$ne{$last,$msize},, +} +} + +$def{P,} +$def{PAGE,$if{$gt{$1,9},$if{$gt{$1,99},$P{$1,$div{$1,100}}}$P{$1,$mod{$div{$1,10},10}}}$P{$1,$mod{$1,10}}} + +$def{S,$1} +$def{SPAGE,$if{$gt{$1,9},$if{$gt{$1,99},$S{$1,$div{$1,100}}}$S{$1,$mod{$div{$1,10},10}}}$S{$1,$mod{$1,10}}} +} + +$def{PREV,$if{$ne{$topdoc,0},}} + +$def{PAGE,} + +$def{SPAGE,} + +$def{NEXT,$if{$ne{$last,$msize},}} + +

+ +

+
+ + +$env{HELPLINK} +
+ +$or{$html{$error}, +$if{$eq{$msize,0}, +$if{$query,No documents match your query, +
Searching $nice{$dbsize} documents +}, +$if{$not{$msizeexact}, + $nice{$add{$topdoc,1}}-$nice{$last} of about $nice{$msize} matches, + $if{$and{$eq{$last,$msize},$eq{$topdoc,0}}, + All $nice{$msize} matches, + $nice{$add{$topdoc,1}}$if{$ne{$add{$topdoc,1},$last},-$nice{$last}} of exactly $nice{$msize} matches} +} +
+
+$list{$map{$queryterms,$list{$html{$uniq{$unstem{$_}}},,/,}: $nice{$freq{$_}}},Term frequencies: ,$. ,} +
Search took $time seconds + +$hitlist{ +} +
+${$percentage%} +
+
+
+
+ +Modified:
$html{$date{$field{modtime},%Y-%m-%d}}

+$if{$field{language},Language: $html{$field{language}}
} +$if{$field{size},Size: $html{$filesize{$field{size}}}
} +
+
$html{$or{$field{caption},$field{title},$field{url},Untitled}}
+$highlight{$field{sample},$terms}$if{$field{sample},...}
+ +$percentage% relevant$. matching: +$list{$map{$terms,$html{$prettyterm{$_}}},$. , and }${for lynx:}

+ +
+ +${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}}} + +${1-W ... X-(this)-Y ...} +$set{w,$min{3,$add{$thispage,-1}}} +$set{x,$max{$add{$opt{w},1},$add{$thispage,-3}}} +$set{y,$min{$lastpage,$add{$thispage,8}}} +$PREV +$map{$range{1,$opt{w}},$PAGE{$_}} +$if{$ne{$add{$opt{w},1},$opt{x}},...} +$map{$range{$opt{x},$add{$thispage,-1}},$PAGE{$_}} +$SPAGE{$thispage} +$map{$range{$add{$thispage,1},$opt{y}},$PAGE{$_}} +$if{$ne{$opt{y},$lastpage},...} +$NEXT +} +}} +

+$if{$dbname,} +$if{$ne{$topdoc,0},} +$if{$ne{$hitsperpage,10},} +$if{$fmt,} +$if{$cgi{COLLAPSE},} +$if{$queryterms,} + + +$list{$relevants,} +$if{$cgi{THRESHOLD},} +
+
diff --git a/srv/templates/titlepage.tmpl b/srv/templates/titlepage.tmpl new file mode 100644 index 0000000..f5cd5bc --- /dev/null +++ b/srv/templates/titlepage.tmpl @@ -0,0 +1 @@ +

-- cgit v1.2.3