|
|
@ -12,9 +12,34 @@ class TimelessTemplate extends BaseTemplate {
|
|
|
|
$this->html( 'headelement' );
|
|
|
|
$this->html( 'headelement' );
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
<div id="mw-wrapper">
|
|
|
|
<div id="mw-wrapper">
|
|
|
|
|
|
|
|
<div id="mw-header-container" class="ts-container">
|
|
|
|
|
|
|
|
<div id="mw-header" class="ts-inner">
|
|
|
|
|
|
|
|
<div id="user-tools">
|
|
|
|
|
|
|
|
<?php $this->outputUserLinks(); ?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
$this->outputLogo();
|
|
|
|
$this->outputLogo( 'p-logo-text', 'text' );
|
|
|
|
|
|
|
|
$this->outputSearch();
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div id="content-container" class="ts-container">
|
|
|
|
|
|
|
|
<div id="content-block" class="ts-inner">
|
|
|
|
|
|
|
|
<div id="mw-site-navigation">
|
|
|
|
|
|
|
|
<h2><?php echo $this->getMsg( 'navigation-heading' )->parse() ?></h2>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
$this->outputLogo( 'p-logo', 'image' );
|
|
|
|
|
|
|
|
echo '<div id="page-tools">';
|
|
|
|
|
|
|
|
$this->outputPageLinks();
|
|
|
|
|
|
|
|
echo '</div><div id="site-navigation">';
|
|
|
|
|
|
|
|
$this->outputSiteNavigation();
|
|
|
|
|
|
|
|
echo '</div>';
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="mw-related-navigation">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="content">
|
|
|
|
<div class="mw-body" role="main">
|
|
|
|
<div class="mw-body" role="main">
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
if ( $this->data['sitenotice'] ) {
|
|
|
|
if ( $this->data['sitenotice'] ) {
|
|
|
@ -56,22 +81,12 @@ class TimelessTemplate extends BaseTemplate {
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div id="mw-navigation">
|
|
|
|
</div>
|
|
|
|
<h2><?php echo $this->getMsg( 'navigation-heading' )->parse() ?></h2>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
$this->outputSearch();
|
|
|
|
|
|
|
|
echo '<div id="user-tools">';
|
|
|
|
|
|
|
|
$this->outputUserLinks();
|
|
|
|
|
|
|
|
echo '</div><div id="page-tools">';
|
|
|
|
|
|
|
|
$this->outputPageLinks();
|
|
|
|
|
|
|
|
echo '</div><div id="site-navigation">';
|
|
|
|
|
|
|
|
$this->outputSiteNavigation();
|
|
|
|
|
|
|
|
echo '</div>';
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="mw-footer">
|
|
|
|
<div id="mw-footer-container" class="ts-container">
|
|
|
|
|
|
|
|
<div id="mw-footer" class="ts-inner">
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
foreach ( $this->getFooterLinks() as $category => $links ) {
|
|
|
|
foreach ( $this->getFooterLinks() as $category => $links ) {
|
|
|
|
?>
|
|
|
|
?>
|
|
|
@ -105,6 +120,7 @@ class TimelessTemplate extends BaseTemplate {
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<?php $this->printTrail() ?>
|
|
|
|
<?php $this->printTrail() ?>
|
|
|
|
</body></html>
|
|
|
|
</body></html>
|
|
|
@ -154,9 +170,12 @@ class TimelessTemplate extends BaseTemplate {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Outputs the logo and (optionally) site title
|
|
|
|
* Outputs the logo and (optionally) site title
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private function outputLogo( $id = 'p-logo', $imageonly = false ) {
|
|
|
|
private function outputLogo( $id = 'p-logo', $part = 'both' ) {
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
<div id="<?php echo $id ?>" class="mw-portlet" role="banner">
|
|
|
|
<div id="<?php echo $id ?>" class="mw-portlet" role="banner">
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
if ( $part !== 'text' ) {
|
|
|
|
|
|
|
|
?>
|
|
|
|
<a
|
|
|
|
<a
|
|
|
|
class="mw-wiki-logo"
|
|
|
|
class="mw-wiki-logo"
|
|
|
|
href="<?php echo htmlspecialchars( $this->data['nav_urls']['mainpage']['href'] )
|
|
|
|
href="<?php echo htmlspecialchars( $this->data['nav_urls']['mainpage']['href'] )
|
|
|
@ -164,7 +183,8 @@ class TimelessTemplate extends BaseTemplate {
|
|
|
|
echo Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) )
|
|
|
|
echo Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) )
|
|
|
|
?>></a>
|
|
|
|
?>></a>
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
if ( !$imageonly ) {
|
|
|
|
}
|
|
|
|
|
|
|
|
if ( $part !== 'image' ) {
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
<a id="p-banner" class="mw-wiki-title" href="<?php echo htmlspecialchars( $this->data['nav_urls']['mainpage']['href'] ) ?>">
|
|
|
|
<a id="p-banner" class="mw-wiki-title" href="<?php echo htmlspecialchars( $this->data['nav_urls']['mainpage']['href'] ) ?>">
|
|
|
|
<?php echo $this->getMsg( 'sitetitle' )->escaped() ?>
|
|
|
|
<?php echo $this->getMsg( 'sitetitle' )->escaped() ?>
|
|
|
|