Ahh, so that's what that does
[lhc/web/wiklou.git] / includes / SkinPHPTal.php
index 35ff06d..2c324a4 100644 (file)
@@ -26,6 +26,8 @@
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 # http://www.gnu.org/copyleft/gpl.html
 
+
+# This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
 if( defined( "MEDIAWIKI" ) ) {
        require_once "GlobalFunctions.php";
        global $IP;
@@ -204,7 +206,7 @@ if( defined( "MEDIAWIKI" ) ) {
                        $tpl->set( "reporttime", $out->reportTime() );
                        $tpl->set( "sitenotice", $wgSiteNotice );
 
-                       $printfooter = "<div class=\"printfooter\">\n" . $this->printFooter() . "</div>\n";
+                       $printfooter = "<div class=\"printfooter\">\n" . $this->printSource() . "</div>\n";
                        $out->mBodytext .= $printfooter ;
                        $tpl->setRef( "bodytext", $out->mBodytext );
 
@@ -603,7 +605,6 @@ if( defined( "MEDIAWIKI" ) ) {
                        $s .= wfMsg(ucfirst($this->skinname).'.js');
                        return $s;
                }
-
        }
 
        class SkinDaVinci extends SkinPHPTal {