jan at horde.org
Tue Nov 21 02:10:54 PST 2006
Zitat von Otto Stolz <Otto.Stolz at uni-konstanz.de>:
> still testing Imp H3 (4.1.2) and Horde 3.1.2.
> As I want to keep it simple and comprehensible, both for my users and me,
> I'd rather leave those "multiple identities" aside, for a start.
> Now I am trying to figure out, what to specify in horde/config/prefs.php.
> I have already:
>> // Personal Information preferences
>> // default identity
>> // Set locked to true if you don't want the users to have multiple
>> $_prefs['default_identity'] = array(
>> 'value' => 0,
>> 'locked' => true,
> That was easy enough, but this item leaves me clueless:
>> // identity name
>> // If you lock this preference, you must specify a value or a hook for it in
>> // horde/config/hooks.php.
>> $_prefs['id'] = array(
>> 'value' => '',
>> 'locked' => false,
>> 'shared' => true,
>> 'type' => 'text',
>> 'desc' => _("Identity's name:")
> I'd rather lock this preference, to get rid of the corresponding
> entry in the "Global Options" / "Personal Information" menu that
> grants the user no choice, anyway. Now the question is:
> *which particular value* should I specify here? So far, I have
> seen no discussion whatsoever of this preference's meaning, or
> Would this be alright:
> $_prefs['id'] = array(
> 'value' => '',
> 'locked' => true,
> (without activating a hook, at all)?
No. It's the "name" of the identity as displayed in the compose window
for example, the first identity is called "Standard Identity" (or
"Default Identity", I don't remember off my head) by default.
Do you need professional PHP or Horde consulting?
More information about the horde