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";
26 $s .= $this->topLinks() . "\n<br />";
27 $s .= $this->pageTitleLinks();
29 $ol = $this->otherLanguages();
30 if($ol) $s .= "<br />" . $ol;
32 $cat = $this->getCategoryLinks();
33 if($cat) $s .= "<br />" . $cat;
35 $s .= "<br clear='all' /><hr />\n</div>\n";
36 $s .= "\n<div id='article'>";
43 global $wgOut, $wgUser;
46 $s = $this->mainPageLink() . $sep
47 . $this->specialLink( "recentchanges" );
49 if ( $wgOut->isArticle() ) {
50 $s .= $sep . $this->editThisPage()
51 . $sep . $this->historyLink();
53 if ( 0 == $wgUser->getID() ) {
54 $s .= $sep . $this->specialLink( "userlogin" );
56 $s .= $sep . $this->specialLink( "userlogout" );
58 $s .= $sep . $this->specialPagesList();
63 function doAfterContent()
65 global $wgUser, $wgOut;
67 $s = "\n</div><br clear='all' />\n";
69 $s .= "\n<div id='footer'><hr />";
71 $s .= $this->bottomLinks();
72 $s .= "\n<br />" . $this->pageStats();
73 $s .= "\n<br />" . $this->mainPageLink()
74 . " | " . $this->aboutLink()
75 . " | " . $this->searchForm();
77 $s .= "\n</div>\n</div>\n";