summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2008-12-19 14:07:22 -0500
committerJoey Hess <joey@gnu.kitenet.net>2008-12-19 14:07:22 -0500
commit79a787a4668caf043862197de2b5ba7e41d37102 (patch)
tree9baa01d959c4c35f939ca3301defe7ab801e79ec
parentddabb010b2c45556046fd1ba982893395c7a46f6 (diff)
rename comments_form to editcomment
-rw-r--r--IkiWiki/Plugin/comments.pm2
-rw-r--r--doc/wikitemplates.mdwn2
-rw-r--r--templates/editcomment.tmpl (renamed from templates/comments_form.tmpl)4
3 files changed, 4 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm
index 705ba340b..a155712fb 100644
--- a/IkiWiki/Plugin/comments.pm
+++ b/IkiWiki/Plugin/comments.pm
@@ -281,7 +281,7 @@ sub sessioncgi ($$) {
action => $config{cgiurl},
header => 0,
table => 0,
- template => scalar IkiWiki::template_params('comments_form.tmpl'),
+ template => scalar IkiWiki::template_params('editcomment.tmpl'),
# wtf does this do in editpage?
wikiname => $config{wikiname},
);
diff --git a/doc/wikitemplates.mdwn b/doc/wikitemplates.mdwn
index 63735193b..dc217cd30 100644
--- a/doc/wikitemplates.mdwn
+++ b/doc/wikitemplates.mdwn
@@ -31,7 +31,7 @@ located in /usr/share/ikiwiki/templates by default.
[[plugins/search]] plugin.
* `comment.tmpl` - This template is used to display a comment
by the [[plugins/comments]] plugin.
-* `comments_form.tmpl` - This template is the comment post form for the
+* `editcomment.tmpl` - This template is the comment post form for the
[[plugins/comments]] plugin.
The [[plugins/pagetemplate]] plugin can allow individual pages to use a
diff --git a/templates/comments_form.tmpl b/templates/editcomment.tmpl
index 9a9455f99..a08b8964c 100644
--- a/templates/comments_form.tmpl
+++ b/templates/editcomment.tmpl
@@ -1,4 +1,4 @@
-<div class="comments-form">
+<div class="editcomment">
<TMPL_VAR MESSAGE>
<TMPL_VAR FORM-START>
<TMPL_VAR FIELD-DO>
@@ -31,4 +31,4 @@ IkiWiki directives ([[!directive]]) are <TMPL_UNLESS NAME="ALLOWDIRECTIVES">not
</div><!-- #preview -->
</TMPL_IF>
-</div><!-- .comments-form -->
+</div><!-- .editcomment -->