summaryrefslogtreecommitdiff
path: root/skins/ArchLinux/ArchLinuxTemplate.php
diff options
context:
space:
mode:
Diffstat (limited to 'skins/ArchLinux/ArchLinuxTemplate.php')
-rw-r--r--skins/ArchLinux/ArchLinuxTemplate.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/skins/ArchLinux/ArchLinuxTemplate.php b/skins/ArchLinux/ArchLinuxTemplate.php
index 938cd36f..3e10befc 100644
--- a/skins/ArchLinux/ArchLinuxTemplate.php
+++ b/skins/ArchLinux/ArchLinuxTemplate.php
@@ -72,12 +72,17 @@ class ArchLinuxTemplate extends BaseTemplate {
}
?>
- <?php echo $this->getIndicators(); ?>
+ <?php
+ echo $this->getIndicators();
+ // Loose comparison with '!=' is intentional, to catch null and false too, but not '0'
+ if ( $this->data['title'] != '' ) {
+ ?>
<h1 id="firstHeading" class="firstHeading" lang="<?php
$this->data['pageLanguage'] =
$this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode();
$this->text( 'pageLanguage' );
?>"><?php $this->html( 'title' ) ?></h1>
+ <?php } ?>
<div id="bodyContent" class="mw-body-content">
<div id="siteSub"><?php $this->msg( 'tagline' ) ?></div>
@@ -319,8 +324,8 @@ class ArchLinuxTemplate extends BaseTemplate {
<?php
}
- wfRunHooks( 'ArchLinuxTemplateToolboxEnd', array( &$this ) );
- wfRunHooks( 'SkinTemplateToolboxEnd', array( &$this, true ) );
+ Hooks::run( 'ArchLinuxTemplateToolboxEnd', array( &$this ) );
+ Hooks::run( 'SkinTemplateToolboxEnd', array( &$this, true ) );
?>
</ul>
<?php $this->renderAfterPortlet( 'tb' ); ?>