Index: trunk/extensions/SmoothGallery/SmoothGalleryClass.php |
— | — | @@ -29,12 +29,12 @@ |
30 | 30 | $error = wfMsg( "smoothgallery-error" ); |
31 | 31 | |
32 | 32 | if ( isset( $galleryArray["missing_images"] ) && isset( $galleryArray["invalid_images"] ) ) { |
33 | | - $error .= wfMsg( "smoothgallery-no-images", implode( ", " , $galleryArray["missing_images"] , count($galleryArray["missing_images"]) , count($galleryArray["missing_images"]) + count($galleryArray["invalid_images"]) ) ); |
| 33 | + $error .= wfMsg( "smoothgallery-no-images", implode( ", " , $galleryArray["missing_images"] , count($galleryArray["missing_images"]) , count($galleryArray["missing_images"]) + count($galleryArray["invalid_images"]) ) ); // FIXME: 3rd (last) parameter should have the number of good images added. |
34 | 34 | $error .= wfMsg( "smoothgallery-invalid-images", implode( ", " , $galleryArray["invalid_images"] , count($galleryArray["invalid_images"]) ) ); |
35 | 35 | } else if ( isset( $galleryArray["invalid_images"] ) ) { |
36 | 36 | $error .= wfMsg( "smoothgallery-invalid-images", implode( ", " , $galleryArray["invalid_images"] , count($galleryArray["invalid_images"]) ) ); |
37 | 37 | } else if ( isset( $galleryArray["missing_images"] ) ) { |
38 | | - $error .= wfMsg( "smoothgallery-no-images", implode( ", " , $galleryArray["missing_images"] , count($galleryArray["missing_images"]) , count($galleryArray["missing_images"]) ) ); |
| 38 | + $error .= wfMsg( "smoothgallery-no-images", implode( ", " , $galleryArray["missing_images"] , count($galleryArray["missing_images"]) , count($galleryArray["missing_images"]) ) ); // FIXME: 3rd (last) parameter should have the number of good images added. |
39 | 39 | } else { |
40 | 40 | $error .= wfMsg( "smoothgallery-not-found" ); |
41 | 41 | } |