--- loncom/interface/Attic/lonremote.pm 2005/01/31 19:24:02 1.16 +++ loncom/interface/Attic/lonremote.pm 2005/02/17 08:29:43 1.17 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonremote.pm,v 1.16 2005/01/31 19:24:02 albertel Exp $ +# $Id: lonremote.pm,v 1.17 2005/02/17 08:29:43 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -42,6 +42,7 @@ sub launchremote { &Apache::lonnet::appenv('environment.remote' => 'on'); # -------------------------------------------------------- Menu script and info my $windowinfo=&Apache::lonmenu::open($ENV{'browser.os'}); + my $html=&Apache::lonxml::xmlbegin(); my $startupremote=&Apache::lonmenu::startupremote($lowerurl); my $remoteinfo=&Apache::lonmenu::load_remote_msg($lowerurl); my $setflags=&Apache::lonmenu::setflags(); @@ -49,7 +50,7 @@ sub launchremote { my $bodytag=&Apache::loncommon::bodytag('Launch Remote Control'); my $message=&mt("Launching of the Remote Control menu will fail if pop-up window filters are active. To use the Remote Control, disable the filter for this site."); $r->print(< +$html The LearningOnline Network with CAPA $startupremote @@ -68,12 +69,13 @@ ENDLAUNCH sub collapseremote { my ($r,$lowerurl)=@_; # -------------------------------------------------------- Menu script and info + my $html=&Apache::lonxml::xmlbegin(); my $bodytag=&Apache::loncommon::bodytag('Collapse Remote Control'); my $windowinfo=&Apache::lonmenu::close(); # my $switch=''; my $message='

'.&mt("The external menu (Remote Control) has been disabled, and you will be working with the smaller inline menu.\nYou may have either closed the Remote Control window, or it was blocked by a pop-up window filter in your browser.\nTo use the Remote Control, disable the filter for this site, and re-launch the Remote Control from the inline menu.").'

'; $r->print(< +$html The LearningOnline Network with CAPA