1d76a951ac467f532daf81f7bd686dabfe3e71de
10 if( !defined( 'MEDIAWIKI' ) )
18 class SkinNostalgia
extends Skin
{
20 function getStylesheet() {
21 return 'common/nostalgia.css';
23 function getSkinName() {
27 function doBeforeContent() {
29 $s = "\n<div id='content'>\n<div id='topbar'>";
30 $s .= $this->logoText( "right" );
32 $s .= $this->pageTitle();
33 $s .= $this->pageSubtitle() . "\n";
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' /><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();
66 if ( $wgUser->isAnon() ) {
67 $s .= $sep . $this->specialLink( "userlogin" );
69 $s .= $sep . $this->specialLink( "userlogout" );
72 /* show links to different language variants */
73 $s .= $this->variantLinks();
75 $s .= $sep . $this->specialPagesList();
80 function doAfterContent() {
81 $s = "\n</div><br clear='all' />\n";
83 $s .= "\n<div id='footer'><hr />";
85 $s .= $this->bottomLinks();
86 $s .= "\n<br />" . $this->pageStats();
87 $s .= "\n<br />" . $this->mainPageLink()
88 . " | " . $this->aboutLink()
89 . " | " . $this->searchForm();
91 $s .= "\n</div>\n</div>\n";