X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/a700922a7000af4f3aead2f26f071131edf563b6..5ca9ff5c91776f118f88ccbe9f50512e48006c8d:/ikiwiki diff --git a/ikiwiki b/ikiwiki index 81bdf85b6..eb0a2c0dc 100755 --- a/ikiwiki +++ b/ikiwiki @@ -658,7 +658,7 @@ EOF exit 0; } #}}} -sub cgi_recentchanges () { #{{{ +sub html_recentchanges ($q) { #{{{ my $q=shift; my $template=HTML::Template->new( @@ -669,7 +669,7 @@ sub cgi_recentchanges () { #{{{ wikiname => $wikiname, changelog => [rcs_recentchanges(100)], ); - return $template->output; + print $q->header, $template->output; } #}}} sub cgi_signin ($$) { #{{{ @@ -790,7 +790,7 @@ sub cgi () { #{{{ } if ($do eq 'recentchanges') { - cgi_recentchanges(); + cgi_recentchanges($q); return; }