}
class LegacyTemplate extends BaseTemplate {
-
+
// How many search boxes have we made? Avoid duplicate id's.
protected $searchboxes = '';
-
+
function execute() {
$this->html( 'headelement' );
echo $this->beforeContent();
$this->printTrail();
echo "\n</body></html>";
}
-
+
/**
* This will be called immediately after the <body> tag. Split into
* two functions to make it easier to subclass.
if ( $image ) {
$link = htmlspecialchars( $image->getURL() );
- $style = $this->getInternalLinkAttributes( $link, $name );
+ $style = Linker::getInternalLinkAttributes( $link, $name );
$s[] = "<a href=\"{$link}\"{$style}>{$name}</a>";
}
}