mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-06 05:59:28 +01:00
attachment type handling while displaying
This commit is contained in:
parent
828210e4e7
commit
414c1831ab
@ -649,6 +649,7 @@
|
||||
case 'IMAGE/JPEG':
|
||||
case 'IMAGE/PNG':
|
||||
case 'IMAGE/GIF':
|
||||
case 'IMAGE/BMP':
|
||||
#case 'application/pdf':
|
||||
$linkData = array
|
||||
(
|
||||
@ -1262,7 +1263,7 @@
|
||||
$this->t->set_var('size',$value['size']);
|
||||
$this->t->set_var('attachment_number',$key);
|
||||
|
||||
switch($value['mimeType'])
|
||||
switch(strtolower($value['mimeType']))
|
||||
{
|
||||
case 'message/rfc822':
|
||||
$linkData = array
|
||||
@ -1278,6 +1279,7 @@
|
||||
case 'image/jpeg':
|
||||
case 'image/png':
|
||||
case 'image/gif':
|
||||
case 'image/bmp':
|
||||
#case 'application/pdf':
|
||||
$linkData = array
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user