aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-11-18 10:17:18 +0000
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-12-11 21:14:02 +0000
commit3d4aa065d6a689a017c98e7ea8b80da0b65ae361 (patch)
treefbea950b7fc2098e039366bbd6c20fc7deec23a2 /templates
parent3c9ccb406b2260c149be387508a097fe6fdb3c93 (diff)
downloadikiwiki-3d4aa065d6a689a017c98e7ea8b80da0b65ae361.tar
ikiwiki-3d4aa065d6a689a017c98e7ea8b80da0b65ae361.tar.gz
postcomment: Rename plugin to comments, use *._comment files
The PageSpec is still called "postcomment" since that's what it means.
Diffstat (limited to 'templates')
-rw-r--r--templates/comments_comment.tmpl (renamed from templates/postcomment_comment.tmpl)0
-rw-r--r--templates/comments_display.tmpl (renamed from templates/postcomment_display.tmpl)8
-rw-r--r--templates/comments_embed.tmpl7
-rw-r--r--templates/comments_form.tmpl (renamed from templates/postcomment_form.tmpl)4
-rw-r--r--templates/postcomment_embed.tmpl7
5 files changed, 13 insertions, 13 deletions
diff --git a/templates/postcomment_comment.tmpl b/templates/comments_comment.tmpl
index 8c89458f3..8c89458f3 100644
--- a/templates/postcomment_comment.tmpl
+++ b/templates/comments_comment.tmpl
diff --git a/templates/postcomment_display.tmpl b/templates/comments_display.tmpl
index d3eabb3a1..04e0613e0 100644
--- a/templates/postcomment_display.tmpl
+++ b/templates/comments_display.tmpl
@@ -1,6 +1,6 @@
-<div class="postcomment-display">
+<div class="comments-display">
-<div class="postcomment-header">
+<div class="comments-header">
Posted by
<TMPL_IF NAME="AUTHOR">
<span class="author">
@@ -15,10 +15,10 @@ Posted by
(<TMPL_VAR CTIME>)
</div>
-<div class="postcomment-subject"><TMPL_VAR TITLE></div>
+<div class="comments-subject"><TMPL_VAR TITLE></div>
<div class="inlinecontent">
<TMPL_VAR CONTENT>
</div>
-</div><!--.postcomment-display-->
+</div><!--.comments-display-->
diff --git a/templates/comments_embed.tmpl b/templates/comments_embed.tmpl
new file mode 100644
index 000000000..cbb9247f2
--- /dev/null
+++ b/templates/comments_embed.tmpl
@@ -0,0 +1,7 @@
+<div class="comments-embed">
+<TMPL_IF NAME=DISABLED>
+[Posting comments disabled: <TMPL_VAR NAME=DISABLED>]
+<TMPL_ELSE>
+<a href="<TMPL_VAR CGIURL ESCAPE=HTML>?do=comment&amp;page=<TMPL_VAR PAGE ESCAPE=URL>">Post a comment</a>
+</TMPL_IF>
+</div>
diff --git a/templates/postcomment_form.tmpl b/templates/comments_form.tmpl
index 293f0f17e..fbf49be34 100644
--- a/templates/postcomment_form.tmpl
+++ b/templates/comments_form.tmpl
@@ -1,4 +1,4 @@
-<div class="postcomment-form">
+<div class="comments-form">
<TMPL_VAR MESSAGE>
<TMPL_VAR FORM-START>
<TMPL_VAR FIELD-DO>
@@ -22,4 +22,4 @@ IkiWiki directives ([[!directive]]) are <TMPL_UNLESS NAME="ALLOWDIRECTIVES">not
</div><!-- #preview -->
</TMPL_IF>
-</div><!-- .postcomment-form -->
+</div><!-- .comments-form -->
diff --git a/templates/postcomment_embed.tmpl b/templates/postcomment_embed.tmpl
deleted file mode 100644
index eae741214..000000000
--- a/templates/postcomment_embed.tmpl
+++ /dev/null
@@ -1,7 +0,0 @@
-<div class="postcomment-embed">
-<TMPL_IF NAME=DISABLED>
-[Posting comments disabled: <TMPL_VAR NAME=DISABLED>]
-<TMPL_ELSE>
-<a href="<TMPL_VAR CGIURL ESCAPE=HTML>?do=postcomment&amp;page=<TMPL_VAR PAGE ESCAPE=URL>">Post a comment</a>
-</TMPL_IF>
-</div>