version 1.5, 2009/01/06 08:08:44
|
version 1.7, 2010/03/22 20:11:15
|
Line 56 sub main {
|
Line 56 sub main {
|
|
|
if ($ENV{'QUERY_STRING'} =~ /^phase\=two\&?(.*)$/) { |
if ($ENV{'QUERY_STRING'} =~ /^phase\=two\&?(.*)$/) { |
my $reroute = $1; |
my $reroute = $1; |
print &Apache::loncommon::start_page('Take Offline','', |
print &Apache::loncommon::start_page('Take Offline'); |
{'no_inline_link' => 1,}); |
|
&phasetwo($reroute); |
&phasetwo($reroute); |
} else { |
} else { |
my $js = <<ENDJS; |
my $js = <<ENDJS; |
Line 71 function setphase(form) {
|
Line 70 function setphase(form) {
|
|
|
</script> |
</script> |
ENDJS |
ENDJS |
print &Apache::loncommon::start_page('Take Offline',$js, |
print &Apache::loncommon::start_page('Take Offline',$js); |
{'no_inline_link' => 1,}); |
|
&phaseone(); |
&phaseone(); |
} |
} |
print &Apache::loncommon::end_page(); |
print &Apache::loncommon::end_page(); |
Line 214 sub reroute {
|
Line 212 sub reroute {
|
<title>Welcome to the LearningOnline Network with CAPA</title> |
<title>Welcome to the LearningOnline Network with CAPA</title> |
<meta HTTP-EQUIV="Refresh" CONTENT="0.5; url=http://$otherserver/adm/login?domain=$domain"> |
<meta HTTP-EQUIV="Refresh" CONTENT="0.5; url=http://$otherserver/adm/login?domain=$domain"> |
</head> |
</head> |
<body bgcolor="#004400" topmargin=0 leftmargin=0 marginwidth=0 marginheight=0> |
<body style="background-color:"#004400"; margin: 0px;"> |
<img src="/adm/lonIcons/header.gif" /> |
<img src="/adm/lonIcons/header.gif" /> |
<p><font color="#FFFFFF">Connecting to |
<p><font color="#FFFFFF">Connecting to |
<a href="http://$otherserver/adm/login?domain=$domain"><font color="#FFFFFF">http://$otherserver/</font></a></font></p> |
<a href="http://$otherserver/adm/login?domain=$domain"><font color="#FFFFFF">http://$otherserver/</font></a></font></p> |