From b8944ceeef7c4f42cdea3735ec96c71eaf52ef0f Mon Sep 17 00:00:00 2001 From: Tom Hutchison Date: Wed, 4 Nov 2015 09:53:51 -0500 Subject: [PATCH] Code fixes, cleanup --- Pivot.skin.php | 36 +- assets/stylesheets/pivot.css | 66 +- pivot.css | 1166 ---------------------------------- pivot.php | 17 +- view/sidebar.php | 18 +- 5 files changed, 88 insertions(+), 1215 deletions(-) delete mode 100644 pivot.css diff --git a/Pivot.skin.php b/Pivot.skin.php index 617737a..0575e7d 100644 --- a/Pivot.skin.php +++ b/Pivot.skin.php @@ -45,7 +45,7 @@ class Skinpivot extends SkinTemplate { $out->addModuleStyles('skins.pivot'); } - public function initPage( OutputPage $out ) { + public function initPage(OutputPage $out) { global $wgLocalStylePath; parent::initPage($out); @@ -69,8 +69,8 @@ class pivotTemplate extends BaseTemplate { $this->html('bodytext'); $out = ob_get_contents(); ob_end_clean(); - $markers = array("<a", "</a", ">"); - $tags = array(""); + $markers = array("<a", "</a", ">"); + $tags = array(""); $body = str_replace($markers, $tags, $out); break; default: @@ -79,14 +79,10 @@ class pivotTemplate extends BaseTemplate { } switch ($wgPivotFeatures['showFooterIcons']) { case true: - $footerLeftClass = 'small-12 medium-8 large-9 columns'; - $footerRightClass = 'small-12 medium-4 large-3 columns'; $poweredbyType = "icononly"; $poweredbyMakeType = 'withImage'; break; default: - $footerLeftClass = 'small-12 medium-8 large-9 columns'; - $footerRightClass = 'small-12 medium-4 large-3 columns'; $poweredbyType = "nocopyright"; $poweredbyMakeType = 'withoutImage'; break; @@ -96,7 +92,7 @@ class pivotTemplate extends BaseTemplate {
- ";?> + "; ?> - ";?> + "; ?>