4 class SkinNostalgia
extends Skin
{
11 function getStylesheet()
13 return "nostalgia.css";
15 function getSkinName() {
19 function doBeforeContent()
21 global $wgUser, $wgOut, $wgTitle;
23 $s = "\n<div id='content'>\n<div id='topbar'>";
24 $s .= $this->logoText( "right" );
26 $s .= $this->pageTitle();
27 $s .= $this->pageSubtitle() . "\n";
29 $s .= $this->topLinks() . "\n<br />";
30 $s .= $this->pageTitleLinks();
32 $ol = $this->otherLanguages();
33 if($ol) $s .= "<br />" . $ol;
35 $cat = $this->getCategoryLinks();
36 if($cat) $s .= "<br />" . $cat;
38 $s .= "<br clear='all' /><hr />\n</div>\n";
39 $s .= "\n<div id='article'>";
46 global $wgOut, $wgUser;
49 $s = $this->mainPageLink() . $sep
50 . $this->specialLink( "recentchanges" );
52 if ( $wgOut->isArticle() ) {
53 $s .= $sep . $this->editThisPage()
54 . $sep . $this->historyLink();
56 if ( 0 == $wgUser->getID() ) {
57 $s .= $sep . $this->specialLink( "userlogin" );
59 $s .= $sep . $this->specialLink( "userlogout" );
61 $s .= $sep . $this->specialPagesList();
66 function doAfterContent()
68 global $wgUser, $wgOut;
70 $s = "\n</div><br clear='all' />\n";
72 $s .= "\n<div id='footer'><hr />";
74 $s .= $this->bottomLinks();
75 $s .= "\n<br />" . $this->pageStats();
76 $s .= "\n<br />" . $this->mainPageLink()
77 . " | " . $this->aboutLink()
78 . " | " . $this->searchForm();
80 $s .= "\n</div>\n</div>\n";