From: Raimond Spekking Date: Fri, 9 Feb 2007 15:48:40 +0000 (+0000) Subject: Missing unit 'px' added. W3C CSS validator X-Git-Tag: 1.31.0-rc.0~54086 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=83a6f40953254b035702edcd70625055389010c1;p=lhc%2Fweb%2Fwiklou.git Missing unit 'px' added. W3C CSS validator whines about it: "Invalid number : width only 0 can be a length. You must put an unit after your number : 150" --- diff --git a/includes/ImageGallery.php b/includes/ImageGallery.php index c9eb96a029..86bf786d33 100644 --- a/includes/ImageGallery.php +++ b/includes/ImageGallery.php @@ -212,7 +212,7 @@ class ImageGallery . htmlspecialchars( $img->getLastError() ) . ''; } else { $vpad = floor( ( 1.25*$this->mHeights - $thumb->height ) /2 ) - 2; - $thumbhtml = "\n\t\t\t".'
' + $thumbhtml = "\n\t\t\t".'
' . $sk->makeKnownLinkObj( $nt, $thumb->toHtml() ) . '
'; }