[dev] PATCH Gollem Mime Viewers.

Mike Cochrane mike@graftonhall.co.nz
Mon, 5 Aug 2002 01:24:26 +0100


http://www.graftonhall.co.nz/mikes/Horde%20Diffs/Gollem%20Mime%20Viewer/

- Mike :-)

Make use of MIME_Viewers in Gollem. If a file can be viewed inline 
with a mime viewer then, it's link defaults to view and there is now a download 
icon next to the file so i can still be downloaded. Maybe this should be reversed
but i didn't have a view icon handy.

Should work will all mime times available in the horde framework. Tested plain,
zip, tgz, rar... images are not working yet... will fix that later...

gollem HEAD.diff
    Patch for Gollem HEAD.


gollem.zip
    Contains:
    graphics\mime\text.gif
    lib\MIME\Viewer\plain.php
    templates\view\footer.inc
    templates\view\header.inc


gollem.png
screen shot showing the download icons.

-------------------------------------------------------------------------
This mail sent from Mike's CVS HEAD install of IMP: http://horde.org/imp/