summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2009-02-25 23:46:34 +0100
committerPierre Schmitz <pierre@archlinux.de>2009-02-26 00:05:24 +0100
commit3feaeb4f89a8edbcedaaa34ebedc622f3674e2dc (patch)
treea63a17542770dcec20b3490ce9b3b4e3f8cbdf9e
parent369a09748e4272b55f7bbadbdd566b8fac7bc407 (diff)
make it possible to add some optional ads
-rw-r--r--skins/ArchLinux.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/skins/ArchLinux.php b/skins/ArchLinux.php
index a39cc5c9..53d553e7 100644
--- a/skins/ArchLinux.php
+++ b/skins/ArchLinux.php
@@ -60,7 +60,7 @@ class ArchLinuxTemplate extends QuickTemplate {
* @access private
*/
function execute() {
- global $wgRequest, $wgArchNavBar, $wgArchNavBarSelected;
+ global $wgRequest, $wgArchNavBar, $wgArchNavBarSelected, $wgAds;
$this->skin = $skin = $this->data['skin'];
$action = $wgRequest->getText( 'action' );
@@ -128,6 +128,7 @@ class ArchLinuxTemplate extends QuickTemplate {
?>
</ul>
</div>
+ <?php if (isset($wgAds)) {echo $wgAds;} ?>
<div id="subnav_bar"></div>
<?php } ?>