Diff for /loncom/interface/Attic/lonremote.pm between versions 1.13 and 1.15

version 1.13, 2004/07/15 19:59:46 version 1.15, 2004/10/29 20:44:30
Line 43  sub launchremote { Line 43  sub launchremote {
 # -------------------------------------------------------- Menu script and info  # -------------------------------------------------------- Menu script and info
     my $windowinfo=&Apache::lonmenu::open($ENV{'browser.os'});      my $windowinfo=&Apache::lonmenu::open($ENV{'browser.os'});
     my $startupremote=&Apache::lonmenu::startupremote($lowerurl);      my $startupremote=&Apache::lonmenu::startupremote($lowerurl);
       my $remoteinfo=&Apache::lonmenu::load_remote_msg($lowerurl);
     my $setflags=&Apache::lonmenu::setflags();      my $setflags=&Apache::lonmenu::setflags();
     my $maincall=&Apache::lonmenu::maincall();      my $maincall=&Apache::lonmenu::maincall();
     my $bodytag=&Apache::loncommon::bodytag('Launch Remote Control');      my $bodytag=&Apache::loncommon::bodytag('Launch Remote Control');
Line 56  $startupremote Line 57  $startupremote
 $bodytag  $bodytag
 $setflags  $setflags
 $windowinfo  $windowinfo
 $maincall  
 $message  $message
   $remoteinfo
   $maincall
 </body>  </body>
 </html>  </html>
 ENDLAUNCH  ENDLAUNCH
Line 70  sub collapseremote { Line 72  sub collapseremote {
     my $windowinfo=&Apache::lonmenu::close();      my $windowinfo=&Apache::lonmenu::close();
 #    my $switch='<meta HTTP-EQUIV="Refresh" CONTENT="0.5; url='.$lowerurl.'">';  #    my $switch='<meta HTTP-EQUIV="Refresh" CONTENT="0.5; url='.$lowerurl.'">';
     my $message='<p>'.&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.").'</p>';       my $message='<p>'.&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.").'</p>'; 
     if ($ENV{'request.role'} =~ /^(ca|au)\./) {  
  $message.='<p>'.&mt(" Authoring roles <b>require</b> use of the remote control. In order to Author you will need to disable popups filtering for this site.").'</p>';  
     }  
     $r->print(<<ENDCOLLAPSE);      $r->print(<<ENDCOLLAPSE);
 <html>  <html>
 <head>  <head>

Removed from v.1.13  
changed lines
  Added in v.1.15


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>