version 1.38.8.1, 2009/12/06 19:41:34
|
version 1.39, 2010/03/10 21:25:29
|
Line 89 sub handler {
|
Line 89 sub handler {
|
return OK if $r->header_only; |
return OK if $r->header_only; |
# -------------------------------------------------------- Menu script and info |
# -------------------------------------------------------- Menu script and info |
|
|
my $windowinfo=&Apache::lonmenu::close(); |
my $windowinfo=&Apache::lonnavmaps::close(); |
$windowinfo.=&Apache::lonnavmaps::close(); |
|
# ---------------------------------------------------------------- Get handover |
# ---------------------------------------------------------------- Get handover |
&Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['handover']); |
&Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['handover']); |
my $switch=''; |
my $switch=''; |
Line 130 sub handler {
|
Line 129 sub handler {
|
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) |
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 |
=cut |
|
$relogmessage.='<p>'.&mt('[_1]Log in again[_2]' |
$relogmessage .= '<p>'.&mt('[_1]Log in again[_2]' |
,'<a href="'.$login_url.'?domain='.$env{'user.domain'}.'">','</a>') |
,'<a href="'.$login_url.'?domain='.$env{'user.domain'}.'">','</a>'). |
.'</p>'; |
(' 'x6).&mt('[_1]Return to WebCenter front page[_2]', |
|
'<a href="/">','</a>') |
|
.'</p>'; |
|
|
|
|
|
} |
} |
my $domain = $env{'user.domain'}; |
my $domain = $env{'user.domain'}; |
if ($env{'request.sso.login'} |
if ($env{'request.sso.login'} |