[imp] Disabling Your From: address:

Jan Schneider jan at horde.org
Tue Jul 31 12:04:08 UTC 2007


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/



More information about the imp mailing list