mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
"disabling mime-type and size in link-title of attachments, as it clutters the UI and users dont need it most of the time. These details can allways be views in filemanager."
This commit is contained in:
parent
a5f7d8d4a3
commit
66ef863bd5
@ -561,10 +561,12 @@ class egw_link extends solink
|
|||||||
{
|
{
|
||||||
$title = $id;
|
$title = $id;
|
||||||
}
|
}
|
||||||
|
/* disabling mime-type and size in link-title of attachments, as it clutters the UI
|
||||||
|
and users dont need it most of the time. These details can allways be views in filemanager.
|
||||||
if (is_array($link))
|
if (is_array($link))
|
||||||
{
|
{
|
||||||
$title .= ': '.$link['type'] . ' '.egw_vfs::hsize($link['size']);
|
$title .= ': '.$link['type'] . ' '.egw_vfs::hsize($link['size']);
|
||||||
}
|
}*/
|
||||||
if (self::DEBUG) echo '<p>'.__METHOD__."('$app','$id')='$title' (file)</p>\n";
|
if (self::DEBUG) echo '<p>'.__METHOD__."('$app','$id')='$title' (file)</p>\n";
|
||||||
return $title;
|
return $title;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user