new mode to return the url

This commit is contained in:
Ralf Becker 2010-10-15 20:22:40 +00:00
parent b4f0f31681
commit 7ed2f90ad4

View File

@ -1030,6 +1030,10 @@ class egw_vfs extends vfs_stream_wrapper
{
$img = $GLOBALS['egw']->common->image('etemplate',$icon='mime'.$size.'_unknown');
}
if ($et_image === 'url')
{
return $img;
}
if ($et_image)
{
return 'etemplate/'.$icon;