From: Trevor Parscal Date: Wed, 8 Jul 2009 00:22:18 +0000 (+0000) Subject: Resolved problem with classes being defined twice. X-Git-Tag: 1.31.0-rc.0~41051 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=fbdcf316af3534cf31098e50d553b16b74517086;p=lhc%2Fweb%2Fwiklou.git Resolved problem with classes being defined twice. --- 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 {