[cvs] commit: horde/lib/MIME Viewer.php
Chuck Hagenbuch
chuck@horde.org
Mon, 8 Jul 2002 10:14:02 -0700 (PDT)
chuck 2002/07/08 10:14:01 PDT
Modified files:
lib/MIME Viewer.php
Log:
Change the getIcon logic. We now prefer, in order:
An exact match from the application
An exact match from Horde
A primary type match from the application
A primary type match from Horde
A driver default match from the application
A driver default match from Horde
A default match from the application
A default match from Horde
... without quite so many if's (_getIcon() returns the priority of the
match to help getIcon() make its decision).
Revision Changes Path
1.27 +46 -29 horde/lib/MIME/Viewer.php
Chora Links:
http://cvs.horde.org/diff.php/horde/lib/MIME/Viewer.php?r1=1.26&r2=1.27&ty=u