[dev] PATCH Gollem Mime (updated)

Mike Cochrane mike@graftonhall.co.nz
Tue, 6 Aug 2002 07:43:57 +0100


This update adds images to the mime types that work.

Chuck you can commit this one :-)

- Mike :-)


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

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.

gollem HEAD.diff
    Patch for Gollem HEAD.


gollem-gollem.zip
    Contains:
    graphics\mime\text.gif
    graphics\mime\image.gif
    lib\MIME\Viewer\plain.php
    lib\MIME\Viewer\images.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/