summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-07-15 14:22:31 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-07-15 14:22:31 +0200
commitbcda87d4a5bf4d72f4f92096472cd49cf0bfd3ed (patch)
tree627187c046a72815fdabde7bf7922a913ab589a5 /skins
parentb2d61c5496bde4a1d161b4fa292b3169cec9a2ec (diff)
make home page configurable
Diffstat (limited to 'skins')
-rw-r--r--skins/ArchLinux.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/skins/ArchLinux.php b/skins/ArchLinux.php
index 8b74df2a..6867f729 100644
--- a/skins/ArchLinux.php
+++ b/skins/ArchLinux.php
@@ -63,7 +63,7 @@ class ArchLinuxTemplate extends QuickTemplate {
* @access private
*/
function execute() {
- global $wgRequest, $wgArchNavBar;
+ global $wgRequest, $wgArchNavBar, $wgArchHome;
$this->skin = $skin = $this->data['skin'];
$action = $wgRequest->getText( 'action' );
@@ -113,8 +113,7 @@ class ArchLinuxTemplate extends QuickTemplate {
<?php if (empty($_REQUEST['printable'])) {?>
<div id="archnavbar"><!-- Arch Linux global navigation bar -->
<div id="archnavbarlogo">
- <p><a id="logo" href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>"<?php
- echo $skin->tooltipAndAccesskey('p-logo') ?>></a></p>
+ <p><a id="logo" href="<?php if (isset($wgArchHome)) { echo $wgArchHome; } ?>"></a></p>
</div>
<div id="archnavbarmenu">
<ul id="archnavbarlist">