version 1.42, 2011/06/13 17:41:01
|
version 1.42.2.2, 2011/11/19 19:10:34
|
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(); |
|
$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 101 sub handler {
|
Line 103 sub handler {
|
$switch); |
$switch); |
} else { |
} else { |
$start_page=&Apache::loncommon::start_page('Logged Out',undef, |
$start_page=&Apache::loncommon::start_page('Logged Out',undef, |
{'no_nav_bar' => 1,}); |
{'no_inline_link' => 1, |
|
'no_nav_bar' => 1,}); |
|
|
$relogmessage.='<h1>'.&mt('Goodbye').'</h1>' |
$relogmessage.='<h1>'.&mt('Goodbye').'</h1>' |
.'<p>'.&mt('Thank you for using LON-CAPA.').'</p>'; |
.'<p>'.&mt('Thank you for using LON-CAPA.').'</p>'; |
Line 122 sub handler {
|
Line 125 sub handler {
|
if ($server && $lonhost) { |
if ($server && $lonhost) { |
$login_url = $Apache::lonnet::protocol{$lonhost}. |
$login_url = $Apache::lonnet::protocol{$lonhost}. |
'://'.$server.$path; |
'://'.$server.$path; |
|
if ($path eq '/adm/login' && $domain ne '') { |
|
$login_url .= '?domain='.$domain; |
|
} |
} |
} |
} |
} |
} |
} |
Line 162 Due to security reasons in new web brows
|
Line 168 Due to security reasons in new web brows
|
# --------------------------------------------------------------- Screen Output |
# --------------------------------------------------------------- Screen Output |
$r->print(<<ENDDOCUMENT); |
$r->print(<<ENDDOCUMENT); |
$start_page |
$start_page |
|
$windowinfo |
$relogmessage |
$relogmessage |
$end_page |
$end_page |
ENDDOCUMENT |
ENDDOCUMENT |