From efe9bb809ba1c54b70836303e805a8b7da44c555 Mon Sep 17 00:00:00 2001 From: Tom Hutchison Date: Sat, 3 Oct 2015 19:09:14 -0400 Subject: [PATCH] improvements, update to readme.md with config settings --- Pivot.skin.php | 95 ++++++++++++++++++++++++------------ README.md | 34 ++++++++----- assets/stylesheets/pivot.css | 92 +++++++++++++++++++++++++--------- 3 files changed, 156 insertions(+), 65 deletions(-) diff --git a/Pivot.skin.php b/Pivot.skin.php index 5dc8a93..815d468 100644 --- a/Pivot.skin.php +++ b/Pivot.skin.php @@ -16,15 +16,17 @@ class Skinpivot extends SkinTemplate { global $wgPivotFeatures; $wgPivotFeaturesDefaults = array( 'showActionsForAnon' => true, - 'NavWrapperType' => '0', + 'fixedNavBar' => false, 'showHelpUnderTools' => true, 'showRecentChangesUnderTools' => true, 'wikiName' => &$GLOBALS['wgSitename'], 'wikiNameDesktop' => &$GLOBALS['wgSitename'], - 'navbarIcon' => false, + 'navbarIcon' => true, 'IeEdgeCode' => 1, - 'showFooterIcons' => 0, - 'addThisFollowPUBID' => '' + 'showFooterIcons' => false, + 'addThisPUBID' => '', + 'useAddThisShare' => false, + 'useAddThisFollow' => false ); foreach ($wgPivotFeaturesDefaults as $fgOption => $fgOptionValue) { if ( !isset($wgPivotFeatures[$fgOption]) ) { @@ -61,16 +63,6 @@ class pivotTemplate extends BaseTemplate { global $wgPivotFeatures; wfSuppressWarnings(); $this->html('headelement'); - switch ($wgPivotFeatures['NavWrapperType']) { - case '0': - break; - case 'divonly': - echo "