rename comments_form to editcomment
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 19 Dec 2008 19:07:22 +0000 (14:07 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 19 Dec 2008 19:07:22 +0000 (14:07 -0500)
IkiWiki/Plugin/comments.pm
doc/wikitemplates.mdwn
templates/editcomment.tmpl [moved from templates/comments_form.tmpl with 94% similarity]

index 705ba340b9c386ad2144d89eae7559678fbcaf13..a155712fba34e59b124fadf633cfd25af08dd159 100644 (file)
@@ -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},
        );
index 63735193bd1f3ca34f2eafda758d9e4ebddc7567..dc217cd30f4e72c64b50447e7b301de381f45fa4 100644 (file)
@@ -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
similarity index 94%
rename from templates/comments_form.tmpl
rename to templates/editcomment.tmpl
index 9a9455f99b98a5d6c8278962a44233bb646e83a2..a08b8964cebac7fc74330fa635a48663ed672770 100644 (file)
@@ -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 -->