From e6eca6448d46712ca66b9894826bbaf020b41e10 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Thu, 8 Oct 2009 23:26:46 +0000 Subject: [PATCH] Added extra classes for collapsible tabs to use. --- skins/Vector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skins/Vector.php b/skins/Vector.php index f97392e73b..8ed548963c 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -157,7 +157,7 @@ class SkinVector extends SkinTemplate { // Adds new section link //$links['actions']['addsection'] $links['views']['addsection'] = array( - 'class' => $section == 'new' ? 'selected' : false, + 'class' => 'collapsible ' . ( $section == 'new' ? 'selected' : false ), 'text' => wfMsg( 'vector-action-addsection' ), 'href' => $this->mTitle->getLocalUrl( 'action=edit§ion=new' @@ -183,7 +183,7 @@ class SkinVector extends SkinTemplate { if ( $this->mTitle->exists() ) { // Adds history view link $links['views']['history'] = array( - 'class' => ($action == 'history') ? 'selected' : false, + 'class' => 'collapsible ' . ( ($action == 'history') ? 'selected' : false ), 'text' => wfMsg( 'vector-view-history' ), 'href' => $this->mTitle->getLocalUrl( 'action=history' ), 'rel' => 'archives', -- 2.20.1