[imp] Re: Users don't want to "download" attachments
Matthew Boehm
mboehm at cytelcom.com
Thu Apr 14 09:48:29 PDT 2005
> From: Michael M Slusarz <slusarz at mail.curecanti.org>
> Reply-To: <slusarz at curecanti.org>
> Date: Thu, 14 Apr 2005 00:38:21 -0600
> To: Matthew Boehm <mboehm at cytelcom.com>
> Cc: <imp at lists.horde.org>
> Subject: Re: [imp] Re: Users don't want to "download" attachments
>
> Quoting Matthew Boehm <mboehm at cytelcom.com>:
>
>> Michael M Slusarz wrote:
>>> For icons, add each msword/excel/pdf mime types you want to show a
>>> special non-default icon for in the default icon array (it's near the
>>> top of the file). Make sure all 'msexcel' and 'msword' options are
>>> disabled. Then change the following lines in lib/MIME/Contents.php
>>> (it's line 835 in the HEAD version - you will have to search for it in
>>> whatever version you are using) from:
>>>
>>> if (!$this->_links ||
>>> (!$attachment && empty($bytes)) ||
>>> !isset($this->_viewID['view']) || is_a($viewer,
>>> 'MIME_Viewer_default')) {
>>>
>>> to:
>>>
>>> if (!$this->_links ||
>>> (!$attachment && empty($bytes)) ||
>>> !isset($this->_viewID['view'])) {
>>>
>>> michael
>>
>> I did this and I am still getting these errors:
>>
>>
>> Notice: Undefined index: msexcel in
>> /home/httpd/vhosts/webmail/horde3/lib/Horde/MIME/Viewer.php on line 75
>>
>> Notice: Undefined index: msexcel in
>> /home/httpd/vhosts/webmail/horde3/lib/Horde/MIME/Viewer/msexcel.php on line
>> 34
>>
>> Notice: Undefined index: msexcel in
>> /home/httpd/vhosts/webmail/horde3/lib/Horde/MIME/Viewer/msexcel.php on line
>> 35
>
> I said that all 'msword' and 'msexcel' options must be disabled. that
> includes removing it from the 'registered' list in mime_drivers.php.
>
I did remove it from the 'registered' list. And I still get the errors.
If you don't believe me, I'll send you my mime_drivers.php.
-Matthew
More information about the imp
mailing list