summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-03-31 10:08:12 +0200
committerAndreas Gohr <andi@splitbrain.org>2006-03-31 10:08:12 +0200
commit1512f40d8c6f20997943125cf82341820dde6caa (patch)
tree8d0ed0a223a46e531e15b96bdcf7dcd512c1f41e
parenta9b9af8cbf45f199cec33eb5c769c183928f307e (diff)
downloadrpg-1512f40d8c6f20997943125cf82341820dde6caa.tar.gz
rpg-1512f40d8c6f20997943125cf82341820dde6caa.tar.bz2
fix for icons in mediamanager #771
darcs-hash:20060331080812-7ad00-45251cae2920cf73930be91f2b4f5768619b1b9c.gz
-rw-r--r--inc/template.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/template.php b/inc/template.php
index c4702af13..488ce211b 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -699,6 +699,8 @@ function tpl_mediafilelist(){
list($ext,$mime) = mimetype($item['file']);
$class = preg_replace('/[^_\-a-z0-9]+/i','_',$ext);
$class = ' class="mediafile mf_'.$class.'"';
+ }else{
+ $class = '';
}
ptln('<li><div class="li">',4);