Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14717/include
Modified Files:
functions_images.inc.php
Log Message:
- Unify "X not found" messages
- Don't show navbars in media library, when there are no images
Index: functions_images.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_images.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- functions_images.inc.php 27 Nov 2004 22:14:14 -0000 1.3
+++ functions_images.inc.php 30 Nov 2004 15:53:56 -0000 1.4
@@ -785,6 +785,9 @@
</tr>
</table>
</form>
+<?php if ( sizeof($serendipity['imageList']) == 0 ) { ?>
+ <div align="center">- <?php echo NO_IMAGES_FOUND ?> -</div>
+<?php } else { ?>
<table border="0" width="100%">
<tr>
<td colspan="<?php echo floor($lineBreak); ?>">
@@ -876,6 +879,7 @@
</table>
<?php
}
+} // End serendipity_displayImageList()
function serendipity_killPath($basedir, $directory = '', $forceDelete = false) {
static $n = "<br />\n";
|