]> sipb.mit.edu Git - ikiwiki.git/commitdiff
blah
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 12 Mar 2006 03:43:40 +0000 (03:43 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 12 Mar 2006 03:43:40 +0000 (03:43 +0000)
ikiwiki

diff --git a/ikiwiki b/ikiwiki
index 6a1eb0e297c6427db0d1bda18766fd310fd65708..eb0a2c0dca5a668683649dc15115babbbb546e76 100755 (executable)
--- a/ikiwiki
+++ b/ikiwiki
@@ -658,7 +658,7 @@ EOF
        exit 0;
 } #}}}
 
        exit 0;
 } #}}}
 
-sub cgi_recentchanges () { #{{{
+sub html_recentchanges ($q) { #{{{
        my $q=shift;
        
        my $template=HTML::Template->new(
        my $q=shift;
        
        my $template=HTML::Template->new(
@@ -669,7 +669,7 @@ sub cgi_recentchanges () { #{{{
                wikiname => $wikiname,
                changelog => [rcs_recentchanges(100)],
        );
                wikiname => $wikiname,
                changelog => [rcs_recentchanges(100)],
        );
-       print $template->output;
+       print $q->header, $template->output;
 } #}}}
 
 sub cgi_signin ($$) { #{{{
 } #}}}
 
 sub cgi_signin ($$) { #{{{
@@ -790,7 +790,7 @@ sub cgi () { #{{{
        }
        
        if ($do eq 'recentchanges') {
        }
        
        if ($do eq 'recentchanges') {
-               cgi_recentchanges();
+               cgi_recentchanges($q);
                return;
        }
        
                return;
        }