[imp] Re: Users don't want to "download" attachments
Michael M Slusarz
slusarz at mail.curecanti.org
Wed Apr 13 23:38:21 PDT 2005
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.
michael
_______________________________________
Michael Slusarz [slusarz at curecanti.org]
More information about the imp
mailing list