10 if( !defined( 'MEDIAWIKI' ) )
17 class SkinNostalgia
extends Skin
{
19 function getStylesheet() {
20 return 'common/nostalgia.css';
22 function getSkinName() {
26 function doBeforeContent() {
27 $s = "\n<div id='content'>\n<div id='top'>\n";
28 $s .= "<div id=\"logo\">".$this->logoText( "right" )."</div>";
30 $s .= $this->pageTitle();
31 $s .= $this->pageSubtitle() . "\n";
33 $s .= "<div id=\"topbar\">";
34 $s .= $this->topLinks() . "\n<br />";
36 $notice = wfGetSiteNotice();
38 $s .= "\n<div id='siteNotice'>$notice</div>\n";
40 $s .= $this->pageTitleLinks();
42 $ol = $this->otherLanguages();
43 if($ol) $s .= "<br />" . $ol;
45 $cat = $this->getCategoryLinks();
46 if($cat) $s .= "<br />" . $cat;
48 $s .= "<br clear='all' /></div><hr />\n</div
50 $s .= "\n<div id='article'>";
56 global $wgOut, $wgUser, $wgEnableUploads;
59 $s = $this->mainPageLink() . $sep
60 . $this->specialLink( "recentchanges" );
62 if ( $wgOut->isArticle() ) {
63 $s .= $sep . $this->editThisPage()
64 . $sep . $this->historyLink();
67 /* show links to different language variants */
68 $s .= $this->variantLinks();
69 $s .= $this->extensionTabLinks();
71 if ( $wgUser->isAnon() ) {
72 $s .= $sep . $this->specialLink( "userlogin" );
74 if ( $wgEnableUploads ) {
75 $s .= $sep . $this->specialLink( "upload" );
77 $s .= $sep . $this->specialLink( "userlogout" );
80 $s .= $sep . $this->specialPagesList();
85 function doAfterContent() {
86 $s = "\n</div><br clear='all' />\n";
88 $s .= "\n<div id='footer'><hr />";
90 $s .= $this->bottomLinks();
91 $s .= "\n<br />" . $this->pageStats();
92 $s .= "\n<br />" . $this->mainPageLink()
93 . " | " . $this->aboutLink()
94 . " | " . $this->searchForm();
96 $s .= "\n</div>\n</div>\n";