From 4625e0c4d9bfa03921ef088cf4197d2ab183889d Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 23 Nov 2010 00:20:57 +0000 Subject: Pass a CGIURL into commentmoderation.tmpl Omitting this resulted
which is in fact a working self-referential form, but is less obvious than it ought to be. --- IkiWiki/Plugin/comments.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'IkiWiki') diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index f11a81736..a3cb7c3d5 100644 --- 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; -- cgit v1.2.3