From: Trevor Parscal Date: Thu, 8 Oct 2009 23:26:46 +0000 (+0000) Subject: Added extra classes for collapsible tabs to use. X-Git-Tag: 1.31.0-rc.0~39336 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=e6eca6448d46712ca66b9894826bbaf020b41e10;p=lhc%2Fweb%2Fwiklou.git Added extra classes for collapsible tabs to use. --- 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',