Dvogel hallowelt has uploaded a new change for review.
https://gerrit.wikimedia.org/r/267247
Change subject: BsBaseTemplate: Introduced printFooter method.
......................................................................
BsBaseTemplate: Introduced printFooter method.
Makes it more comfortable to modifiy footer section at BlueSpiceSkin based skins
Change-Id: I36da8c651b1b12b2882fd855e5b0ffd538dcebf5
---
M includes/BsBaseTemplate.php
1 file changed, 35 insertions(+), 0 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceFoundation
refs/changes/47/267247/1
diff --git a/includes/BsBaseTemplate.php b/includes/BsBaseTemplate.php
index 9792eba..da8f758 100644
--- a/includes/BsBaseTemplate.php
+++ b/includes/BsBaseTemplate.php
@@ -733,4 +733,39 @@
return $ptools;
}
+
+ public function printFooter() {
+ ?>
+ <div id="footer" <?php $this->html('userlangattributes') ?>>
+ <?php
+ $aFooterIcons = $this->getFooterIcons("icononly");
+ $aFooterLinks = $this->getFooterLinks();
+ foreach ($aFooterLinks as $sCategory => $aLinks):
+ ?>
+ <ul id="footer-<?php echo $sCategory ?>">
+ <?php
+ foreach ($aLinks as $sLink) {
+ ?>
+ <li id="footer-<?php echo $sCategory ?>-<?php
echo $sLink ?>"><?php $this->html( $sLink ) ?></li>
+ <?php
+ }
+ ?>
+ </ul>
+ <?php endforeach; ?>
+ <?php
+ if (count($aFooterIcons) > 0):
+ ?>
+ <ul id="footer-icons" class="noprint">
+ <?php foreach ( $aFooterIcons as $blockName =>
$aFooterIconBlock ): ?>
+ <li id="footer-<?php echo
htmlspecialchars($blockName); ?>ico">
+ <?php foreach ( $aFooterIconBlock as
$icon ): ?>
+ <?php echo
$this->getSkin()->makeFooterIcon($icon); ?>
+ <?php endforeach; ?>
+ </li>
+ <?php endforeach; ?>
+ </ul>
+ <?php endif; ?>
+ </div>
+ <?php
+ }
}
--
To view, visit https://gerrit.wikimedia.org/r/267247
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I36da8c651b1b12b2882fd855e5b0ffd538dcebf5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: REL1_23
Gerrit-Owner: Dvogel hallowelt <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits