--- loncom/interface/Attic/lonremote.pm 2004/07/02 08:42:44 1.12 +++ loncom/interface/Attic/lonremote.pm 2004/10/29 20:44:30 1.15 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonremote.pm,v 1.12 2004/07/02 08:42:44 albertel Exp $ +# $Id: lonremote.pm,v 1.15 2004/10/29 20:44:30 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -43,6 +43,7 @@ sub launchremote { # -------------------------------------------------------- Menu script and info my $windowinfo=&Apache::lonmenu::open($ENV{'browser.os'}); my $startupremote=&Apache::lonmenu::startupremote($lowerurl); + my $remoteinfo=&Apache::lonmenu::load_remote_msg($lowerurl); my $setflags=&Apache::lonmenu::setflags(); my $maincall=&Apache::lonmenu::maincall(); my $bodytag=&Apache::loncommon::bodytag('Launch Remote Control'); @@ -56,8 +57,9 @@ $startupremote $bodytag $setflags $windowinfo -$maincall $message +$remoteinfo +$maincall ENDLAUNCH @@ -69,7 +71,7 @@ sub collapseremote { 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."); + 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(<