4 class SkinNostalgia
extends Skin
{
11 function getStylesheet()
13 return "nostalgia.css";
15 function getSkinName() {
19 function doBeforeContent()
21 global $wgUser, $wgOut, $wgTitle, $wgSiteNotice;
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 />";
31 $s .= "\n<div id='siteNotice'>$wgSiteNotice</div>\n";
33 $s .= $this->pageTitleLinks();
35 $ol = $this->otherLanguages();
36 if($ol) $s .= "<br />" . $ol;
38 $cat = $this->getCategoryLinks();
39 if($cat) $s .= "<br />" . $cat;
41 $s .= "<br clear='all' /><hr />\n</div>\n";
42 $s .= "\n<div id='article'>";
49 global $wgOut, $wgUser;
52 $s = $this->mainPageLink() . $sep
53 . $this->specialLink( "recentchanges" );
55 if ( $wgOut->isArticle() ) {
56 $s .= $sep . $this->editThisPage()
57 . $sep . $this->historyLink();
59 if ( 0 == $wgUser->getID() ) {
60 $s .= $sep . $this->specialLink( "userlogin" );
62 $s .= $sep . $this->specialLink( "userlogout" );
64 $s .= $sep . $this->specialPagesList();
69 function doAfterContent()
71 global $wgUser, $wgOut;
73 $s = "\n</div><br clear='all' />\n";
75 $s .= "\n<div id='footer'><hr />";
77 $s .= $this->bottomLinks();
78 $s .= "\n<br />" . $this->pageStats();
79 $s .= "\n<br />" . $this->mainPageLink()
80 . " | " . $this->aboutLink()
81 . " | " . $this->searchForm();
83 $s .= "\n</div>\n</div>\n";