--- loncom/auth/lonlogout.pm 2012/02/13 16:59:24 1.45 +++ loncom/auth/lonlogout.pm 2013/02/08 17:11:59 1.45.2.2 @@ -1,7 +1,7 @@ # The LearningOnline Network # Logout Handler # -# $Id: lonlogout.pm,v 1.45 2012/02/13 16:59:24 raeburn Exp $ +# $Id: lonlogout.pm,v 1.45.2.2 2013/02/08 17:11:59 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,6 +92,7 @@ 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=''; @@ -101,7 +105,8 @@ sub handler { $switch); } else { $start_page=&Apache::loncommon::start_page('Logged Out',undef, - {'no_nav_bar' => 1,}); + {'no_inline_link' => 1, + 'no_nav_bar' => 1,}); $relogmessage.='
'.&mt('Thank you for using LON-CAPA.').'
'; @@ -175,6 +180,7 @@ Due to security reasons in new web brows # --------------------------------------------------------------- Screen Output $r->print(<