10 if( !defined( 'MEDIAWIKI' ) )
17 class SkinNostalgia
extends Skin
{
19 function getStylesheet() {
20 return 'common/nostalgia.css';
22 function getSkinName() {
26 function doBeforeContent() {
28 $s .= "\n<div id='content'>\n<div id='top'>\n";
29 $s .= "<div id=\"topbar\">".$this->logoText( "right" )."</div>";
31 $s .= $this->pageTitle();
32 $s .= $this->pageSubtitle() . "\n";
34 $s .= "<div id=\"topbar\">";
35 $s .= $this->topLinks() . "\n<br />";
37 $notice = wfGetSiteNotice();
39 $s .= "\n<div id='siteNotice'>$notice</div>\n";
41 $s .= $this->pageTitleLinks();
43 $ol = $this->otherLanguages();
44 if($ol) $s .= "<br />" . $ol;
46 $cat = $this->getCategoryLinks();
47 if($cat) $s .= "<br />" . $cat;
49 $s .= "<br clear='all' /></div><hr />\n</div>\n";
50 $s .= "\n<div id='article'>";
56 global $wgOut, $wgUser;
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 $s .= $sep . $this->specialLink( "userlogout" );
77 $s .= $sep . $this->specialPagesList();
82 function doAfterContent() {
83 $s = "\n</div><br clear='all' />\n";
85 $s .= "\n<div id='footer'><hr />";
87 $s .= $this->bottomLinks();
88 $s .= "\n<br />" . $this->pageStats();
89 $s .= "\n<br />" . $this->mainPageLink()
90 . " | " . $this->aboutLink()
91 . " | " . $this->searchForm();
93 $s .= "\n</div>\n</div>\n";