[imp] Inline Images (corrected)

Michael M Slusarz slusarz@bigworm.colorado.edu
Mon, 20 May 2002 17:35:37 -0600


Quoting Chuck Hagenbuch <chuck@horde.org>:

| Quoting Michael M Slusarz <slusarz@bigworm.colorado.edu>:
| 
| > I would have liked to implement this as a Horde-wide module, but there
| is 
| > an IMP requirement in the viewer ('via_view_imp').  Any comments on
| > this?
| 
| Sorry, I'm still catching up on commits - what exactly is the IMP
| requirement?
| 

"Stuff" is handled differently whether the message is viewed from 
message.php vs. view.php.  To differentiate, 'via_view_imp' is set in the 
MIME_Part and can be retrieved via the getInformation() method call.

If you can think of a better way of doing this, that would be great.  (I 
don't believe checking the __FILE__ value in the Viewer gets us anywhere 
because we are still tied to IMP).

michael

______________________________________________
Michael Slusarz [slusarz@bigworm.colorado.edu]
The University of Colorado at Boulder