From: joey Date: Sun, 12 Mar 2006 03:43:40 +0000 (+0000) Subject: blah X-Git-Tag: 1.0~439 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5ca9ff5c91776f118f88ccbe9f50512e48006c8d;p=ikiwiki.git blah --- 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; }