* some comments (using # instead of /* */ )
[lhc/web/wiklou.git] / includes / SkinNostalgia.php
index e402ba6..301bbf0 100644 (file)
@@ -12,10 +12,13 @@ class SkinNostalgia extends Skin {
        {
                return "nostalgia.css";
        }
+       function getSkinName() {
+               return "nostalgia";
+       }
 
        function doBeforeContent()
        {
-               global $wgUser, $wgOut, $wgTitle;
+               global $wgUser, $wgOut, $wgTitle, $wgSiteNotice;
 
                $s = "\n<div id='content'>\n<div id='topbar'>";
                $s .= $this->logoText( "right" );
@@ -24,6 +27,9 @@ class SkinNostalgia extends Skin {
                $s .= $this->pageSubtitle() . "\n";
 
                $s .= $this->topLinks() . "\n<br />";
+               if( $wgSiteNotice ) {
+                       $s .= "\n<div id='siteNotice'>$wgSiteNotice</div>\n";
+               }
                $s .= $this->pageTitleLinks();
 
                $ol = $this->otherLanguages();