This fixes bug 984629, but gives a double footer
[lhc/web/wiklou.git] / includes / SkinPHPTal.php
index 3206b5e..35ff06d 100644 (file)
@@ -204,6 +204,8 @@ if( defined( "MEDIAWIKI" ) ) {
                        $tpl->set( "reporttime", $out->reportTime() );
                        $tpl->set( "sitenotice", $wgSiteNotice );
 
+                       $printfooter = "<div class=\"printfooter\">\n" . $this->printFooter() . "</div>\n";
+                       $out->mBodytext .= $printfooter ;
                        $tpl->setRef( "bodytext", $out->mBodytext );
 
                        $language_urls = array();