mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-27 15:53:19 +01:00
attachment type handling while displaying
This commit is contained in:
parent
7c80d6ee56
commit
e851baca0e
@ -629,6 +629,7 @@
|
||||
case 'IMAGE/JPEG':
|
||||
case 'IMAGE/PNG':
|
||||
case 'IMAGE/GIF':
|
||||
case 'IMAGE/BMP':
|
||||
case 'APPLICATION/PDF':
|
||||
case 'TEXT/PLAIN':
|
||||
case 'TEXT/HTML':
|
||||
@ -1320,7 +1321,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
|
||||
@ -1336,6 +1337,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