From e34f24a50c5c46b09267a6bf6be9462d25eb9abf Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Sun, 4 Apr 2004 01:50:43 +0000 Subject: [PATCH] * aditional span / div inside floated image-div to allow better css styling * small xhtml tweaks * DaVinci and Mono temporarily disabled --- includes/Skin.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index 7090698dc9..3682af4f38 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -19,9 +19,10 @@ if( $wgUseSmarty ) { } if( $wgUsePHPTal ) { #$wgValidSkinNames[] = "PHPTal"; - $wgValidSkinNames['davinci'] = "DaVinci"; - $wgValidSkinNames['mono'] = "Mono"; + #$wgValidSkinNames['davinci'] = "DaVinci"; + #$wgValidSkinNames['mono'] = "Mono"; $wgValidSkinNames['monobook'] = "MonoBook"; + #$wgValidSkinNames['monobookminimal'] = "MonoBookMinimal"; } include_once( "RecentChange.php" ); @@ -1550,7 +1551,7 @@ class Skin { " \"{$alt}\"\n "; } if ( "" != $align ) { - $s = "
{$s}\n
"; + $s = "
{$s}\n
"; } return $prefix.$s.$postfix; } @@ -1688,7 +1689,7 @@ class Skin { $magnifyalign = $wgLang->isRTL() ? "left" : "right"; $textalign = $wgLang->isRTL() ? " style=\"text-align:right\"" : ""; - $s = "
"; + $s = "
"; if ( $thumbUrl == "" ) { $s .= str_replace( "$1", $name, wfMsg("missingimage") ); } else { @@ -1699,7 +1700,7 @@ class Skin { ' '.$more.' '."\n"; } - $s .= ' '.$label."

\n
"; + $s .= ' '.$label."

\n
"; return $s; } @@ -2276,11 +2277,11 @@ class Skin { # try min-width & co when somebody gets a chance $hideline = " "; return - "

\n". + "
\n". "".wfMsg("toc")."" . $hideline . "
\n". - $toc."

\n"; + $toc."

\n"; } # These two do not check for permissions: check $wgTitle->userCanEdit before calling them -- 2.20.1