From fdaad9ec001f0a51e6b8ea905636db181ec876d0 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Fri, 9 Apr 2004 14:57:05 +0000 Subject: [PATCH] center -\> span, empty alt tag added (todo: span with class, fill alt tag) --- includes/ImagePage.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 437346279c..c805667fc0 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -26,7 +26,7 @@ class ImagePage extends Article { function openShowImage() { - global $wgOut, $wgUser; + global $wgOut, $wgUser,$wgRequest; $name = $this->mTitle->getText(); $path = wfImagePath( $name ); $url = wfImageUrl( $name ); @@ -38,9 +38,10 @@ class ImagePage extends Article { if ( $type != "" ) { # image - $s = "
"; + $s = "getVal( 'image' )."\" />"; } else { - $s = "
".$sk->makeMediaLink($name,"")."
"; + $s = "".$sk->makeMediaLink($name,"").""; } $wgOut->addHTML( $s ); } -- 2.20.1