From b7415495bcd4f2fddc88a0b437d375f9af779bdc Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Sun, 9 Jan 2005 18:01:18 +0000 Subject: [PATCH] Show file name in gallery view --- includes/ImageGallery.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/includes/ImageGallery.php b/includes/ImageGallery.php index 9e141c02ff..d7819b5eb9 100644 --- a/includes/ImageGallery.php +++ b/includes/ImageGallery.php @@ -134,12 +134,9 @@ class ImageGallery $vpad = floor( ( 150 - $thumb->height ) /2 ) - 2; $s .= '
' . '
'. - $sk->makeKnownLinkObj( $nt, $thumb->toHtml() ) . '
'; - if($text <> '') { - $s .= '
' . - $textlink . $text . $nb . - '
'; - } + $sk->makeKnownLinkObj( $nt, $thumb->toHtml() ) . '
' . + $textlink . $text . $nb . + '
'; $s .= "\n"; $s .= ($i%4==3) ? '' : ''; $i++; -- 2.20.1