Lemonldap::NG::Portal::Display(3pm)

Lemonldap::NG::Portal::Display3pm

Display functions for lemonldap::ng portal

Usage

  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;

Overview

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

Bug report

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

Download

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

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9