--- loncom/auth/lonlogout.pm 2006/04/05 22:28:58 1.17 +++ loncom/auth/lonlogout.pm 2006/08/29 20:34:39 1.20 @@ -1,7 +1,7 @@ # The LearningOnline Network # Logout Handler # -# $Id: lonlogout.pm,v 1.17 2006/04/05 22:28:58 albertel Exp $ +# $Id: lonlogout.pm,v 1.20 2006/08/29 20:34:39 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -87,7 +87,7 @@ sub handler { # ---------------------------------------------------------------- Get handover &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['handover']); my $switch=''; - my $bodytag=''; + my $start_page=''; my $relogmessage=''; if ($env{'form.handover'}) { $switch='$lt{'cw'} $lt{'or'} - $lt{'li'}. + $lt{'li'}. ENDRELOG + + if ($env{'request.sso.login'} + && defined($r->dir_config('lonSSOUserLogoutMessageFile'))) { + open(my $fh,$r->dir_config('lonSSOUserLogoutMessageFile')); + $relogmessage.= join('',<$fh>); + } + } - $end_page=&Apache::loncommon::end_page(); + my $end_page=&Apache::loncommon::end_page(); # --------------------------------------------------------------- Screen Output $r->print(<