diff --git a/Pivot.skin.php b/Pivot.skin.php index 4f5c972..6af8f26 100644 --- a/Pivot.skin.php +++ b/Pivot.skin.php @@ -29,7 +29,7 @@ class Skinpivot extends SkinTemplate { 'useAddThisFollow' => false ); foreach ($wgPivotFeaturesDefaults as $fgOption => $fgOptionValue) { - if ( !isset($wgPivotFeatures[$fgOption]) ) { + if ( ! isset($wgPivotFeatures[$fgOption])) { $wgPivotFeatures[$fgOption] = $fgOptionValue; } } @@ -38,8 +38,9 @@ class Skinpivot extends SkinTemplate { $out->addHeadItem('ie-meta', ''); break; case 2: - if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false)) - header('X-UA-Compatible: IE=edge'); + if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false)) { + header('X-UA-Compatible: IE=edge'); + } break; } $out->addModuleStyles('skins.pivot'); @@ -65,7 +66,7 @@ class pivotTemplate extends BaseTemplate { $this->html('headelement'); switch ($wgPivotFeatures['usePivotTabs']) { case true: - ob_start(); + ob_start(); $this->html('bodytext'); $out = ob_get_contents(); ob_end_clean(); @@ -92,7 +93,10 @@ class pivotTemplate extends BaseTemplate {
- "; ?> + "; +} +?> - "; ?> + "; +} +?>