--- loncom/auth/lonlogout.pm 2008/05/13 15:06:34 1.31 +++ loncom/auth/lonlogout.pm 2009/09/15 00:06:28 1.32.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network # Logout Handler # -# $Id: lonlogout.pm,v 1.31 2008/05/13 15:06:34 www Exp $ +# $Id: lonlogout.pm,v 1.32.2.1 2009/09/15 00:06:28 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -92,7 +92,8 @@ sub handler { $start_page=&Apache::loncommon::start_page('Logged Out',undef, {'no_inline_link' => 1,}); - $relogmessage.='
'.&mt('Thank you for using LON-CAPA.').'
'; if (!$env{'request.sso.norelogin'}) { my $relogin_server; @@ -102,9 +103,17 @@ sub handler { my $login_url = $relogin_server.'/adm/'. ($env{'request.sso.login'} ? 'roles': 'login'); - $relogmessage.=&mt('Please either [_1]close this window[_2] or [_3]log in again[_4].' - ,'','' - ,'',''); + $relogmessage.=''.&mt('You have been successfully logged out.').' ' + .&mt('You can [_1]close this window[_2] now.' + ,'','') +# ,'',''); +# 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) + .'
' + .''.&mt('[_1]Log in again[_2]' + ,'',''). + (' 'x6).&mt('[_1]Return to WebCenter front page[_2]', + '','') + .'
'; } my $domain = $env{'user.domain'}; if ($env{'request.sso.login'}