mirror of
https://github.com/Hutchy68/pivot.git
synced 2024-11-24 11:29:04 +01:00
Fixing code issues
This commit is contained in:
parent
033aca2dae
commit
0b897ceb0a
@ -64,7 +64,7 @@ class pivotTemplate extends BaseTemplate {
|
||||
wfSuppressWarnings();
|
||||
$this->html('headelement');
|
||||
switch ($wgPivotFeatures['usePivotTabs']) {
|
||||
case 'true':
|
||||
case true:
|
||||
ob_start();
|
||||
$this->html('bodytext');
|
||||
$out = ob_get_contents();
|
||||
@ -296,7 +296,7 @@ class pivotTemplate extends BaseTemplate {
|
||||
|
||||
<?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>
|
||||
<?php } ?>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user