div instead of span
authorGabriel Wicke <gwicke@users.mediawiki.org>
Fri, 16 Apr 2004 10:53:55 +0000 (10:53 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Fri, 16 Apr 2004 10:53:55 +0000 (10:53 +0000)
includes/ImagePage.php

index 5d687da..75e45f6 100644 (file)
@@ -38,10 +38,10 @@ class ImagePage extends Article {
                        
                        if ( $type != "" ) {
                                # image
-                               $s = "<span class=\"fullImage\"><img src=\"{$url}\" width=\"{$width}\" height=\"{$height}\"".
-                               "alt=\"".$wgRequest->getVal( 'image' )."\" /></span>";
+                               $s = "<div class=\"fullImage\"><img src=\"{$url}\" width=\"{$width}\" height=\"{$height}\"".
+                               "alt=\"".$wgRequest->getVal( 'image' )."\" /></div>";
                        } else {
-                               $s = "<span class=\"fullMedia\">".$sk->makeMediaLink($name,"")."</span>";
+                               $s = "<div class=\"fullMedia\">".$sk->makeMediaLink($name,"")."</div>";
                        }
                        $wgOut->addHTML( $s );
                }