--- loncom/cgi/takeoffline.pl 2009/01/06 08:08:44 1.5 +++ loncom/cgi/takeoffline.pl 2010/03/22 20:11:15 1.7 @@ -2,7 +2,7 @@ $|=1; # Take machine offline, reroute traffic # -# $Id: takeoffline.pl,v 1.5 2009/01/06 08:08:44 raeburn Exp $ +# $Id: takeoffline.pl,v 1.7 2010/03/22 20:11:15 droeschl Exp $ # # Copyright Michigan State University Board of Trustees # @@ -56,8 +56,7 @@ sub main { if ($ENV{'QUERY_STRING'} =~ /^phase\=two\&?(.*)$/) { my $reroute = $1; - print &Apache::loncommon::start_page('Take Offline','', - {'no_inline_link' => 1,}); + print &Apache::loncommon::start_page('Take Offline'); &phasetwo($reroute); } else { my $js = < ENDJS - print &Apache::loncommon::start_page('Take Offline',$js, - {'no_inline_link' => 1,}); + print &Apache::loncommon::start_page('Take Offline',$js); &phaseone(); } print &Apache::loncommon::end_page(); @@ -214,7 +212,7 @@ sub reroute { Welcome to the LearningOnline Network with CAPA - +

Connecting to http://$otherserver/