--- loncom/auth/lonlogout.pm 2003/01/29 15:22:06 1.6
+++ loncom/auth/lonlogout.pm 2003/03/17 17:53:09 1.8
@@ -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.8 2003/03/17 17:53:09 matthew 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
+log in again.
+ENDRELOG
+ }
# --------------------------------------------------------------- Screen Output
$r->print(<
The LearningOnline Network with CAPA Logout
$switch
-
+$bodytag
$windowinfo
-Goodbye!
+$relogmessage
+