4 class SkinNostalgia
extends Skin
{
11 function getStylesheet()
13 return "nostalgia.css";
16 function doBeforeContent()
18 global $wgUser, $wgOut, $wgTitle;
20 $s = "\n<div id='content'>\n<div id='topbar'>";
21 $s .= $this->logoText( "right" );
23 $s .= $this->pageTitle();
24 $s .= $this->pageSubtitle() . "\n<p>";
26 $s .= $this->topLinks() . "\n<br>";
27 $s .= $this->pageTitleLinks();
29 $ol = $this->otherLanguages();
30 if($ol) $s .= "<br>" . $ol;
32 $s .= "<br clear=all><hr>\n</div>\n";
33 $s .= "\n<div id='article'>";
40 global $wgOut, $wgUser;
43 $s = $this->mainPageLink() . $sep
44 . $this->specialLink( "recentchanges" );
46 if ( $wgOut->isArticle() ) {
47 $s .= $sep . $this->editThisPage()
48 . $sep . $this->historyLink();
50 if ( 0 == $wgUser->getID() ) {
51 $s .= $sep . $this->specialLink( "userlogin" );
53 $s .= $sep . $this->specialLink( "userlogout" );
55 $s .= $sep . $this->specialPagesList();
60 function doAfterContent()
62 global $wgUser, $wgOut;
64 $s = "\n</div><br clear=all>\n";
66 $s .= "\n<div id='footer'><hr>";
68 $s .= $this->bottomLinks();
69 $s .= "\n<br>" . $this->pageStats();
70 $s .= "\n<br>" . $this->mainPageLink()
71 . " | " . $this->aboutLink()
72 . " | " . $this->searchForm();
74 $s .= "\n</div>\n</div>\n";