--- loncom/auth/lonlogout.pm 2012/08/06 23:14:04 1.45.2.1 +++ loncom/auth/lonlogout.pm 2013/02/08 17:03:41 1.46 @@ -1,7 +1,7 @@ # The LearningOnline Network # Logout Handler # -# $Id: lonlogout.pm,v 1.45.2.1 2012/08/06 23:14:04 raeburn Exp $ +# $Id: lonlogout.pm,v 1.46 2013/02/08 17:03:41 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -70,6 +70,9 @@ sub handler { my $lonidsdir=$r->dir_config('lonIDsDir'); &Apache::lonnet::transfer_profile_to_env($lonidsdir,$handle); unlink("$lonidsdir/$handle.id"); + if (!$Apache::lonlocal::lh) { + &Apache::lonlocal::get_language_handle($r); + } my %temp=('logout' => time); &Apache::lonnet::put('email_status',\%temp); &Apache::lonnet::log($env{'user.domain'}, @@ -89,7 +92,6 @@ sub handler { return OK if $r->header_only; # -------------------------------------------------------- Menu script and info - my $windowinfo=&Apache::lonmenu::close(); # ---------------------------------------------------------------- Get handover &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['handover']); my $switch=''; @@ -102,8 +104,7 @@ sub handler { $switch); } else { $start_page=&Apache::loncommon::start_page('Logged Out',undef, - {'no_inline_link' => 1, - 'no_nav_bar' => 1,}); + {'no_nav_bar' => 1,}); $relogmessage.='

'.&mt('Goodbye').'

' .'

'.&mt('Thank you for using LON-CAPA.').'

'; @@ -177,7 +178,6 @@ Due to security reasons in new web brows # --------------------------------------------------------------- Screen Output $r->print(<