projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f019ac
)
Pass a CGIURL into commentmoderation.tmpl
author
Simon McVittie
<smcv@debian.org>
Tue, 23 Nov 2010 00:20:57 +0000
(
00:20
+0000)
committer
Simon McVittie
<smcv@debian.org>
Tue, 23 Nov 2010 00:20:57 +0000
(
00:20
+0000)
Omitting this resulted <form action=""> which is in fact a working
self-referential form, but is less obvious than it ought to be.
IkiWiki/Plugin/comments.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/comments.pm
b/IkiWiki/Plugin/comments.pm
index f11a817367e1860f490c094f6476fac59aa39769..a3cb7c3d56c784f18251aaa34a14776d6f107962 100644
(file)
--- a/
IkiWiki/Plugin/comments.pm
+++ b/
IkiWiki/Plugin/comments.pm
@@
-656,6
+656,7
@@
sub commentmoderation ($$) {
$template->param(
sid => $session->id,
comments => \@comments,
+ cgiurl => IkiWiki::cgiurl(),
);
IkiWiki::printheader($session);
my $out=$template->output;