--- loncom/auth/lonlogout.pm 2003/01/29 15:22:06 1.6 +++ loncom/auth/lonlogout.pm 2003/03/02 04:08:41 1.7 @@ -1,7 +1,7 @@ # The LearningOnline Network # Logout Handler # -# $Id: lonlogout.pm,v 1.6 2003/01/29 15:22:06 www Exp $ +# $Id: lonlogout.pm,v 1.7 2003/03/02 04:08:41 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -79,19 +79,30 @@ sub handler { # ---------------------------------------------------------------- Get handover &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['handover']); my $switch=''; + my $bodytag=''; + my $relogmessage=''; if ($ENV{'form.handover'}) { $switch=''; - } + $bodytag=&Apache::loncommon::bodytag('Switching Server ...'); + } else { + $bodytag=&Apache::loncommon::bodytag('Logged Out'); + $relogmessage=(<Goodbye! +Please either close this window or +login again. +ENDRELOG + } # --------------------------------------------------------------- Screen Output $r->print(< The LearningOnline Network with CAPA Logout $switch - +$bodytag $windowinfo -

Goodbye!

+$relogmessage + ENDDOCUMENT &Apache::lonnet::flushcourselogs();