NAME

Lemonldap::NG::Portal::Menu - Enhanced menu to display to authenticated users

SYNOPSIS

use Lemonldap::NG::Portal::Menu;
my $menu = Lemonldap::NG::Portal::Menu->new(
  {
    portalObject => $portal,
    apps => {
        xmlfile => "/var/lib/lemonldap-ng/conf/apps-list.xml",
        imgpath => "apps/",
    },
    modules => {
        appslist => 1,
        password => 1,
        logout => 1,
    },
  }
);

# Print HTML code of authorized applications list
print $menu->appslistMenu;

DESCRIPTION

Lemonldap::NG::Portal::Menu provides these web modules:

  • Application list: display a full menu with all authorized applications

  • Password: allow the user to change its password (with LDAP auth only)

  • Logout: display a simple logout confirmation page

These web modules are designed to be used in HTML::Template, with the help of Jquery scripts. Without that, this will only output raw HTML code.

SEE ALSO

Lemonldap::NG::Portal, http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/EnhancedMenu http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/Presentation

AUTHOR

Clement OUDOT <clement@oodo.net> <coudot@linagora.com>

BUG REPORT

Use OW2 system to report bug or ask for features: http://forge.objectweb.org/tracker/?group_id=274

DOWNLOAD

Lemonldap::NG is available at http://forge.objectweb.org/project/showfiles.php?group_id=274

COPYRIGHT AND LICENSE

Copyright (C) 2005-2007 by Clement OUDOT <clement@oodo.net> <coudot@linagora.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.