[horde] IMP5 - toggle default trailer hook
Gunnar Wrobel
wrobel at horde.org
Wed May 18 03:10:46 UTC 2011
Zitat von Kcam kcam <kcam01 at hotmail.com>:
> How would i go about setting up a pref option to disable the trailer hook?
The preferences are available as a global variable so something like
this might do the trick:
public function trailer()
{
global $prefs;
if ($prefs->getValue('use_trailer')) {
...
You would have to define the "use_trailer" variable in imp/config/prefs.php.
Cheers,
Gunnar
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
--
Core Developer
The Horde Project
e: wrobel at horde.org
t: +49 700 6245 0000
w: http://www.horde.org
pgp: 9703 43BE
tweets: http://twitter.com/pardus_de
blog: http://log.pardus.de
More information about the horde
mailing list