'.&mt('Thank you for using LON-CAPA.').'
'; + my $domain = $env{'user.domain'}; if (!$env{'request.sso.norelogin'}) { - my $relogin_server; + my ($relogin_server,$login_url); if ($env{'request.sso.reloginserver'}) { $relogin_server = $env{'request.sso.reloginserver'}; - } - my $login_url = $relogin_server.'/adm/'. - ($env{'request.sso.login'} ? 'roles': 'login'); - - $relogmessage.=(<'.&mt('You have been successfully logged out.').' ' + .&mt('You can [_1]close this window[_2] now.' + ,'','') # ,'','') + .'
'; +=pod + +=head1 NOTES: + +'','' + +Due to security reasons in new web browsers a window could only be closed with java script, if this window has also been opend with javascript. This is not done here which means that in most cases the close link will not work. Unless we find another solution, this link should not be offered. (Stefan Bisitz, 2008-08-01) + +=cut + $relogmessage.=''.&mt('[_1]Log in again[_2]' + ,'','') + .'
'; } - my $domain = $env{'user.domain'}; if ($env{'request.sso.login'} && defined($r->dir_config("lonSSOUserLogoutMessageFile_$domain"))) { open(my $fh,$r->dir_config("lonSSOUserLogoutMessageFile_$domain")); @@ -153,7 +183,6 @@ __END__ -