--- loncom/cgi/takeoffline.pl 2015/03/11 03:33:22 1.6.12.1 +++ loncom/cgi/takeoffline.pl 2015/01/21 15:12:03 1.8 @@ -2,7 +2,7 @@ $|=1; # Take machine offline, reroute traffic # -# $Id: takeoffline.pl,v 1.6.12.1 2015/03/11 03:33:22 raeburn Exp $ +# $Id: takeoffline.pl,v 1.8 2015/01/21 15:12:03 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -57,8 +57,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(); @@ -229,8 +227,8 @@ sub reroute { ENDNEWINDEX - close(OUT); - return $otherhostname; + close(OUT); + return $otherhostname; } } return;