Changeset 57

Show
Ignore:
Timestamp:
02/28/07 00:55:12 (2 years ago)
Author:
timhawes
Message:

mediagallery update: silly little bug fixed where non-playable file types were left invisible and couldn't be deleted once uploaded. I really should test more before releasing stuff...

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • mediagallery/lib.php

    r53 r57  
    6363                        } 
    6464                         
    65                         if ((substr_count($mimetype, "image") > 0) || (substr_count($mimetype, "mp3") > 0) || (substr_count($mimetype, "flash") > 0) || (substr_count($mimetype, "x-flv") > 0) || (substr_count($file->originalname, ".flv") > 0)){ 
    66                             $media_html .= <<< END 
     65                                                $media_html .= <<< END 
    6766                             
    6867                            <div class="mediagallery-media-container"> 
     
    7776                             
    7877END; 
    79                         } 
     78 
    8079                    } 
    8180                }