1
0
mirror of https://github.com/Hutchy68/pivot.git synced 2024-11-22 02:19:03 +01:00

Fixing code issues

This commit is contained in:
Tom Hutchison 2015-11-03 21:40:45 -05:00
parent 033aca2dae
commit 0b897ceb0a

View File

@ -64,7 +64,7 @@ class pivotTemplate extends BaseTemplate {
wfSuppressWarnings(); wfSuppressWarnings();
$this->html('headelement'); $this->html('headelement');
switch ($wgPivotFeatures['usePivotTabs']) { switch ($wgPivotFeatures['usePivotTabs']) {
case 'true': case true:
ob_start(); ob_start();
$this->html('bodytext'); $this->html('bodytext');
$out = ob_get_contents(); $out = ob_get_contents();
@ -296,7 +296,7 @@ class pivotTemplate extends BaseTemplate {
<?php $this->printTrail(); ?> <?php $this->printTrail(); ?>
<?php if ($wgForegroundFeatures['addThisFollowPUBID'] != '') { ?> <?php if ($wgPivotFeatures['addThisFollowPUBID'] != '') { ?>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=<?php echo $wgForegroundFeatures['addThisPUBID'];?>" async="async">></script> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=<?php echo $wgForegroundFeatures['addThisPUBID'];?>" async="async">></script>
<?php } ?> <?php } ?>
</body> </body>