Zitat von Sn!per <[EMAIL PROTECTED]>:

> Quoting Patrick Boutilier <[EMAIL PROTECTED]>:
>
>> Edit horde/config/registry.php . Something like:
>>
>> $this->applications['myaccount'] = array(
>>      'name' => _("My Account"),
>>      'status' => 'heading',
>> );
>>
>> $this->applications['changepass'] = array(
>>      'fileroot' => 'path to app',
>>      'webroot' => 'path to app',
>>      'icon' => $this->applications['horde']['webroot'] .
>> '/themes/graphics/website.png',
>>      'name' => _("Change password"),
>>      'status' => 'active',
>>      'menu_parent' => 'myaccount'
>> );
>>
>
> Thanks Patrick. I got the idea. The menu are working. However I  
> wonder why the userid of the logged in person (  
> $_SESSION['imp']['user'] ) does not appear. I just got blank. Code  
> as below:
>
> $this->applications['myaccount'] = array(
>     'fileroot' => '/tmp',
>     'icon' => '',
>     'name' => $_SESSION['imp']['user'],
>     'status' => 'heading',
>  );

The registry is loaded before authentication.

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]

Reply via email to