2
The template used for all Mediawiki 1.67 page views is mediwiki/templates/xoops.php.
Look for function topLinks() and function doAfterContent().
function topLinks() {
global $wgOut, $wgUser;
$sep = " |n";
$s = $this->mainPageLink();
if ( $wgOut->isArticle() ) {
$s .= $sep . $this->editThisPage()
. $sep . $this->historyLink();
}
$s .= $sep . $this->pageTitleLinks();
//Hack TCNet remove style switch $s .= $sep . $this->styleLink();
/*
if ( $wgUser->isAnon() ) {
$s .= $sep . $this->specialLink( "userlogin" );
} else {
$s .= $sep . $this->specialLink( "userlogout" );
}
*/
//Hack TCNet special pages off $s .= $this->specialPagesList();
$s .= "n<br />" . $this->searchForm();
return $s;
}
function doAfterContent() {
$s = "n</div><br clear='all' />n";
$s .= "n<div id='mw-footer'><hr />";
$s .= $this->bottomLinks();
$s .= "n<br />" . $this->pageStats();
$s .= "n<br /><br />" . $this->mainPageLink()
. " | " . $this->specialLink( "recentchanges" )
. " | " . $this->aboutLink();
//Hack TCNet Remove style switch . " | " . $this->styleLink();
//Hack TCNet bottom search off $s .= "n<br />" . $this->searchForm();
$s .= $this->specialPagesList();
$s .= "n</div>n</div>n";
return $s;
}
This example has the style switch removed, special pages only on bottom, and search only on top.