[imp] applications "sensing" if they're called from DIMP?
Michael M Slusarz
slusarz at horde.org
Mon Jan 28 19:43:59 UTC 2008
Quoting Jan Schneider <jan at horde.org>:
> Zitat von Liam Hoekenga <liamr at deathstar.org>:
>
>> Is there a way for another horde application to know that it's being
>> called from within DIMP / is beind displayed in the DIV on the right
>> side of the DIMP screen?
>
> Unfortunately not.
Technically, there is. $_SESSION['imp']['viewmode'] is set to
imp/dimp/mimp depending on the last page loaded. However, it is not
really meant for use outside of IMP/DIMP/MIMP so any solution using
that variable needs to be done locally.
michael
--
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the imp
mailing list