mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
No need to strip out mime again, it's already removed by egw_link
This commit is contained in:
parent
feae7b3638
commit
0db176f0b2
@ -179,10 +179,6 @@ class etemplate_widget_link extends etemplate_widget
|
||||
$link['target'] = '_blank';
|
||||
$link['label'] = 'Delete';
|
||||
$link['help'] = lang('Delete this file');
|
||||
if ($GLOBALS['egw_info']['user']['preferences']['common']['link_list_format'] != 'text')
|
||||
{
|
||||
$link['title'] = preg_replace('/: ([^ ]+) /',': ',$link['title']); // remove mime-type, it's alread in the icon
|
||||
}
|
||||
$link['title'] = egw_vfs::decodePath($link['title']);
|
||||
$link['icon'] = egw_link::vfs_path($link['app2'],$link['id2'],$link['id'],true);
|
||||
$link['download_url'] = egw_vfs::download_url($link['icon']);
|
||||
|
Loading…
Reference in New Issue
Block a user