Lemonldap::NG::Portal::Display - Display functions for LemonLDAP::NG Portal


Lemonldap-NG-Portal documentation  | view source Contained in the Lemonldap-NG-Portal distribution.

Index


NAME

Top

Lemonldap::NG::Portal::Display - Display functions for LemonLDAP::NG Portal

SYNOPSIS

Top

  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;

DESCRIPTION

Top

This module is used to build all templates parameters to display LemonLDAP::NG Portal

SEE ALSO

Top

Lemonldap::NG::Portal

AUTHOR

Top

Clement Oudot, <clement@oodo.net>

BUG REPORT

Top

Use OW2 system to report bug or ask for features: http://jira.ow2.org

DOWNLOAD

Top

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

COPYRIGHT AND LICENSE

Top


Lemonldap-NG-Portal documentation  | view source Contained in the Lemonldap-NG-Portal distribution.