From fbdcf316af3534cf31098e50d553b16b74517086 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Wed, 8 Jul 2009 00:22:18 +0000 Subject: [PATCH] Resolved problem with classes being defined twice. --- skins/Vector.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/skins/Vector.php b/skins/Vector.php index cea32838c4..c9fa7c4dfc 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -384,7 +384,9 @@ class VectorTemplate extends QuickTemplate { if ( $nav[$section][$key]['class'] ) { $nav[$section][$key]['attributes'] .= ' class="' . htmlspecialchars( $link['class'] ) . '"'; + unset( $nav[$section][$key]['class'] ); } + // We don't want to give the watch tab an accesskey if the page is // being edited, because that conflicts with the accesskey on the // watch checkbox. We also don't want to give the edit tab an @@ -587,7 +589,7 @@ class VectorTemplate extends QuickTemplate { @@ -602,7 +604,7 @@ class VectorTemplate extends QuickTemplate {
msg('views') ?>
@@ -615,7 +617,7 @@ class VectorTemplate extends QuickTemplate { -- 2.20.1