[LON-CAPA-cvs] cvs: loncom /interface lonremote.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 02 Jul 2004 08:42:44 -0000


albertel		Fri Jul  2 04:42:44 2004 EDT

  Modified files:              
    /loncom/interface	lonremote.pm 
  Log:
  - no longer does an JS alert to inform you that the remote has been disabled, rahter the text is inlined an anchor is provided to continue on
  
  
Index: loncom/interface/lonremote.pm
diff -u loncom/interface/lonremote.pm:1.11 loncom/interface/lonremote.pm:1.12
--- loncom/interface/lonremote.pm:1.11	Thu Jun 17 20:34:14 2004
+++ loncom/interface/lonremote.pm	Fri Jul  2 04:42:44 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # User Authentication Module
 #
-# $Id: lonremote.pm,v 1.11 2004/06/18 00:34:14 www Exp $
+# $Id: lonremote.pm,v 1.12 2004/07/02 08:42:44 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -68,19 +68,19 @@
 # -------------------------------------------------------- Menu script and info
     my $bodytag=&Apache::loncommon::bodytag('Collapse Remote Control');
     my $windowinfo=&Apache::lonmenu::close();
-    my $switch='<meta HTTP-EQUIV="Refresh" CONTENT="0.5; url='.$lowerurl.'">';
-    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 $switch='<meta HTTP-EQUIV="Refresh" CONTENT="0.5; url='.$lowerurl.'">';
+    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(<<ENDCOLLAPSE);
 <html>
 <head>
 <title>The LearningOnline Network with CAPA</title>
-$switch
 </head>
 $bodytag
 $windowinfo
-<script>
-alert("$message");
-</script>
+<p>
+$message
+</p>
+<a href="$lowerurl">Continue</a>
 </body>
 </html>
 ENDCOLLAPSE