version 1.13, 2004/07/21 20:19:01
|
version 1.15, 2005/09/20 07:33:54
|
Line 25
|
Line 25
|
# |
# |
# http://www.lon-capa.org/ |
# http://www.lon-capa.org/ |
# |
# |
# (Cookie Based Access Handler |
|
# 5/21/99,5/22,5/29,5/31,6/15,16/11,22/11, |
|
# 01/06,01/13 Gerd Kortemeyer) |
|
# 05/31,11/29,12/29 Gerd Kortemeyer |
|
|
|
package Apache::lonlogout; |
package Apache::lonlogout; |
|
|
Line 83 sub handler {
|
Line 79 sub handler {
|
my $switch=''; |
my $switch=''; |
my $bodytag=''; |
my $bodytag=''; |
my $relogmessage=''; |
my $relogmessage=''; |
if ($ENV{'form.handover'}) { |
if ($env{'form.handover'}) { |
$switch='<meta HTTP-EQUIV="Refresh" CONTENT="0.5; url='. |
$switch='<meta HTTP-EQUIV="Refresh" CONTENT="0.5; url='. |
$ENV{'form.handover'}.'">'; |
$env{'form.handover'}.'">'; |
$bodytag=&Apache::loncommon::bodytag('Switching Server ...'); |
$bodytag=&Apache::loncommon::bodytag('Switching Server ...'); |
} else { |
} else { |
$bodytag=&Apache::loncommon::bodytag('Logged Out'); |
$bodytag=&Apache::loncommon::bodytag('Logged Out'); |
Line 97 sub handler {
|
Line 93 sub handler {
|
$relogmessage=(<<ENDRELOG); |
$relogmessage=(<<ENDRELOG); |
<h1>$lt{'gb'}!</h1> |
<h1>$lt{'gb'}!</h1> |
$lt{'pe'} <a href="javascript:self.close();">$lt{'cw'}</a> $lt{'or'} |
$lt{'pe'} <a href="javascript:self.close();">$lt{'cw'}</a> $lt{'or'} |
<a href="/adm/login">$lt{'li'}</a>. |
<a href="/adm/login?domain=$sessionhash{'user.domain'}">$lt{'li'}</a>. |
ENDRELOG |
ENDRELOG |
} |
} |
# --------------------------------------------------------------- Screen Output |
# --------------------------------------------------------------- Screen Output |