Lemonldap::NG::Portal::Display - Display functions for LemonLDAP::NG Portal
use Lemonldap::NG::Portal::SharedConf; use HTML::Template; my $portal = Lemonldap::NG::Portal::SharedConf->new(); my($templateName,%templateParams) = $portal->display(); my $template = HTML::Template->new( filename => $templateName, die_on_bad_params => 0, cache => 0, global_vars => 1, filter => sub { $portal->translate_template(@_) } ); while ( my ( $k, $v ) = each %templateParams ) { $template->param( $k, $v ); } print $portal->header('text/html; charset=utf-8'); print $template->output;
This module is used to build all templates parameters to display LemonLDAP::NG Portal
Lemonldap::NG::Portal
Clement Oudot, <clement@oodo.net>
Use OW2 system to report bug or ask for features: http://jira.ow2.org
Lemonldap::NG is available at http://forge.objectweb.org/project/showfiles.php?group_id=274
Copyright (C) 2005, 2010 by Xavier Guimard <x.guimard@free.fr>, Clement Oudot <clement@oodo.net>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 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.