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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Jan Schneider Enviado el: martes, 31 de julio de 2007 14:04 Para: [email protected] Asunto: Re: [imp] Disabling Your From: address: Zitat von "Briongos Caballero, Sergio" <[EMAIL PROTECTED]>: > 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: [EMAIL PROTECTED] -- IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [EMAIL PROTECTED]
