[imp] Disabling Your From: address:
Briongos Caballero, Sergio
sbriongos at umh.es
Tue Jul 31 12:33:21 UTC 2007
Solved, I change enum to text and with javascript I disable it in onload
page.
'locked' to true don't work because in compose page don't display two
identities.
Thank's.
-----Mensaje original-----
De: imp-bounces at lists.horde.org [mailto:imp-bounces at lists.horde.org] En
nombre de Jan Schneider
Enviado el: martes, 31 de julio de 2007 14:04
Para: imp at lists.horde.org
Asunto: Re: [imp] Disabling Your From: address:
Zitat von "Briongos Caballero, Sergio" <sbriongos at umh.es>:
> Hello, I have two identities for same people, but I need they can't
> change "Your From: address:" in preferences, I change in prefs.php:
>
>
>
> $_prefs['from_addr'] = array(
>
> 'value' => '',
>
> 'locked' => false,
>
> 'shared' => true,
>
> //'type' => 'text',
>
> 'type' => 'enum',
>
> 'enum' => (isset($identity) && is_object($identity)) ?
> $identity->getAll('from_addr'): array(),
>
> 'desc' => _("Your From: address:")
>
> );
>
>
>
> But I need to hide this in prefs, so that they cannot modify it.
>
>
>
> I only need $_prefs['from_addr'] visible = false
Set 'locked' to true.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe at lists.horde.org
More information about the imp
mailing list