summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki')
-rwxr-xr-xikiwiki6
1 files changed, 3 insertions, 3 deletions
diff --git a/ikiwiki b/ikiwiki
index 6a1eb0e29..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)],
);
- print $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;
}