Lemonldap::NG::Portal::Error - Simple error page
#!/usr/bin/perl use Lemonldap::NG::Portal::Error; my $portal = Lemonldap::NG::Portal::Error->new( { configStorage => { type => 'File', dirName => '/opt/lemonldap-ng/conf/', }, }); my $portal_url = $portal->getPortal; my $logout_url = "$portal_url?logout=1"; print $portal->header('text/html; charset=utf8'); print $portal->star_html('Error'); print "...": print "<a href=$portal_url>Go to portal</a>"; print "<a href=$logout_url>Logout</a>"; print $portal->end_html;
Create a simple portal to display an error page.
Return the portal URL that was configured.
Lemonldap::NG::SharedConf, Lemonldap::NG::Handler, 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) 2007 by Xavier Guimard <x.guimard@free.fr>
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.