summaryrefslogtreecommitdiff
path: root/skins/ArchLinux/ArchLinuxTemplate.php
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-01 15:30:02 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-05-01 15:30:02 -0400
commit1de335ad3f395ca6861085393ba366a9e3fb4a0d (patch)
treef1fdd326034e05177596851be6a7127615d81498 /skins/ArchLinux/ArchLinuxTemplate.php
parent9c75fa8ff6d4d38ef552c00fef5969fb154765e8 (diff)
parentf6d65e533c62f6deb21342d4901ece24497b433e (diff)
Merge commit 'f6d65'
# Conflicts: # skins/ArchLinux/ArchLinux.php
Diffstat (limited to 'skins/ArchLinux/ArchLinuxTemplate.php')
-rw-r--r--skins/ArchLinux/ArchLinuxTemplate.php13
1 files changed, 10 insertions, 3 deletions
diff --git a/skins/ArchLinux/ArchLinuxTemplate.php b/skins/ArchLinux/ArchLinuxTemplate.php
index ba65cb8a..938cd36f 100644
--- a/skins/ArchLinux/ArchLinuxTemplate.php
+++ b/skins/ArchLinux/ArchLinuxTemplate.php
@@ -72,11 +72,12 @@ class ArchLinuxTemplate extends BaseTemplate {
}
?>
+ <?php echo $this->getIndicators(); ?>
<h1 id="firstHeading" class="firstHeading" lang="<?php
$this->data['pageLanguage'] =
$this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode();
$this->text( 'pageLanguage' );
- ?>"><span dir="auto"><?php $this->html( 'title' ) ?></span></h1>
+ ?>"><?php $this->html( 'title' ) ?></h1>
<div id="bodyContent" class="mw-body-content">
<div id="siteSub"><?php $this->msg( 'tagline' ) ?></div>
@@ -143,8 +144,10 @@ class ArchLinuxTemplate extends BaseTemplate {
<?php
echo Html::element( 'a', array(
'href' => $this->data['nav_urls']['mainpage']['href'],
- 'style' => "background-image: url({$this->data['logopath']});" )
- + Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) ); ?>
+ 'class' => 'mw-wiki-logo',
+ )
+ + Linker::tooltipAndAccesskeyAttribs( 'p-logo' )
+ ); ?>
</div>
<?php
@@ -200,6 +203,7 @@ class ArchLinuxTemplate extends BaseTemplate {
$this->printTrail();
echo Html::closeElement( 'body' );
echo Html::closeElement( 'html' );
+ echo "\n";
wfRestoreWarnings();
} // end of execute() method
@@ -224,6 +228,9 @@ class ArchLinuxTemplate extends BaseTemplate {
continue;
}
+ // Numeric strings gets an integer when set as key, cast back - T73639
+ $boxName = (string)$boxName;
+
if ( $boxName == 'SEARCH' ) {
$this->searchBox();
} elseif ( $boxName == 'TOOLBOX' ) {