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='topbar'>";
29 $s .= $this->logoText( "right" );
31 $s .= $this->pageTitle();
32 $s .= $this->pageSubtitle() . "\n";
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' /><hr />\n</div>\n";
49 $s .= "\n<div id='article'>";
55 global $wgOut, $wgUser;
58 $s = $this->mainPageLink() . $sep
59 . $this->specialLink( "recentchanges" );
61 if ( $wgOut->isArticle() ) {
62 $s .= $sep . $this->editThisPage()
63 . $sep . $this->historyLink();
66 /* show links to different language variants */
67 $s .= $this->variantLinks();
68 $s .= $this->extensionTabLinks();
70 if ( $wgUser->isAnon() ) {
71 $s .= $sep . $this->specialLink( "userlogin" );
73 $s .= $sep . $this->specialLink( "userlogout" );
76 $s .= $sep . $this->specialPagesList();
81 function doAfterContent() {
82 $s = "\n</div><br clear='all' />\n";
84 $s .= "\n<div id='footer'><hr />";
86 $s .= $this->bottomLinks();
87 $s .= "\n<br />" . $this->pageStats();
88 $s .= "\n<br />" . $this->mainPageLink()
89 . " | " . $this->aboutLink()
90 . " | " . $this->searchForm();
92 $s .= "\n</div>\n</div>\n";