diff --git a/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/_ajax_get_thumbnail_listing.php b/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/_ajax_get_thumbnail_listing.php index 4d0823a76b..76f9f4796c 100644 --- a/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/_ajax_get_thumbnail_listing.php +++ b/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/_ajax_get_thumbnail_listing.php @@ -2,15 +2,14 @@
-
-
- - - '; - echo '' . "\n"; - break; - case 'fileFlash': - case 'fileVideo': - case 'fileMusic': + switch($file['cssClass']) { + case 'filePicture': + echo ''; + echo '' . "\n"; break; - default: - echo ' '; - } - if(Security::remove_XSS($_GET['editor'])!='stand_alone'){ - $path_chamilo_file='../'.$file['path'];// fix for makes a good show when pressed next on window preview, don't only one image - } - else{ - $path_chamilo_file=$file['path']; - } - ?> + case 'fileFlash': + case 'fileVideo': + case 'fileMusic': + break; + default: + echo ' '; + } + if(Security::remove_XSS($_GET['editor'])!='stand_alone'){ + $path_chamilo_file='../'.$file['path'];// fix for makes a good show when pressed next on window preview, don't only one image + } + else{ + $path_chamilo_file=$file['path']; + } + ?>
  class="radio" value="" />