"using egw_vfs::mime_icon()"

This commit is contained in:
Ralf Becker 2008-04-22 20:33:42 +00:00
parent 0070d44a4a
commit 0cdfc90f61

View File

@ -305,7 +305,7 @@ class link_widget
// Get mimetype and thumbnail
if(in_array($GLOBALS['egw_info']['user']['preferences']['common']['link_list_format'], array('icons', 'icons_and_text') ))
{
list(,$icon) = explode('/',filemanager_ui::mime_icon($value[$row]['type']));
list(,$icon) = explode('/',egw_vfs::mime_icon($value[$row]['type']));
$value[$row]['mime_icon'] = html::image('filemanager',$icon,lang('File').': '.$value[$row]['type']);
}
if($GLOBALS['egw_info']['user']['preferences']['common']['link_list_thumbnail'] && $GLOBALS['egw_info']['server']['link_list_thumbnail'] > 0)