"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:
Ralf Becker 2009-05-19 10:23:29 +00:00
parent a5f7d8d4a3
commit 66ef863bd5

View File

@ -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;
} }