Lemonldap::NG::Portal::Menu - Enhanced menu to display to authenticated users
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;
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.
Lemonldap::NG::Portal, http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/EnhancedMenu http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/Presentation
Clement OUDOT <clement@oodo.net> <coudot@linagora.com>
Use OW2 system to report bug or ask for features: http://forge.objectweb.org/tracker/?group_id=274
Lemonldap::NG is available at http://forge.objectweb.org/project/showfiles.php?group_id=274
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.
To install Lemonldap::NG::Portal, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lemonldap::NG::Portal
CPAN shell
perl -MCPAN -e shell install Lemonldap::NG::Portal
For more information on module installation, please visit the detailed CPAN module installation guide.