rename comments_form to editcomment
parent
ddabb010b2
commit
79a787a466
|
@ -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},
|
||||
);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 -->
|
Loading…
Reference in New Issue