fix source forge bug 854204
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 16 Mar 2004 13:08:35 +0000 (13:08 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 16 Mar 2004 13:08:35 +0000 (13:08 +0000)
Skin cologne blue will show the donation link at the bottom of left bar in "special page" if $wgSiteSupportPage is set.

includes/SkinCologneBlue.php

index 6343dd9..46dbdeb 100644 (file)
@@ -232,7 +232,12 @@ class SkinCologneBlue extends Skin {
                if ( 0 != $wgUser->getID() && !$wgDisableUploads ) {
                        $s .= $sep . $this->specialLink( "upload" );
                }
-
+               global $wgSiteSupportPage;
+               if( $wgSiteSupportPage) {
+                       $s .= $sep."<a href=\"".htmlspecialchars($wgSiteSupportPage)."\" class =\"internal\">"
+                             .wfMsg( "sitesupport" )."</a>";
+               }
+               
                $s .= $sep . $this->makeKnownLink( $wgLang->specialPage( "Specialpages" ), wfMsg("moredotdotdot") );
 
                $s .= $sep . "\n</div>\n";