From: Jens Frank Date: Sun, 9 Jan 2005 18:01:18 +0000 (+0000) Subject: Show file name in gallery view X-Git-Tag: 1.5.0alpha1~975 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=b7415495bcd4f2fddc88a0b437d375f9af779bdc;p=lhc%2Fweb%2Fwiklou.git Show file name in gallery view --- 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++;