From d7cee9a4f9f7022f8c54ae9c956f3a7f76f61dd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Oudot?= Date: Tue, 1 Jun 2010 10:11:35 +0000 Subject: [PATCH] Use redirection message in page title (#80) --- .../lib/Lemonldap/NG/Portal/Simple.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm index 061cdfcee..89639ae2c 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm @@ -1616,15 +1616,15 @@ sub autoPost { } "; + my $message = + &Lemonldap::NG::Portal::_i18n::msg( PM_REDIRECTION, + $ENV{HTTP_ACCEPT_LANGUAGE} ); + # Print page print $self->header(); - print $self->start_html( -style => { -code => $css } ); + print $self->start_html( -title => $message, -style => { -code => $css } ); - print $self->h1( - &Lemonldap::NG::Portal::_i18n::msg( PM_REDIRECTION, - $ENV{HTTP_ACCEPT_LANGUAGE} - ) - ); + print $self->h1($message); print $self->start_form( -action => $url );