mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
"using egw_vfs::mime_icon()"
This commit is contained in:
parent
0070d44a4a
commit
0cdfc90f61
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user