[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonmenu.pm

raeburn raeburn at source.lon-capa.org
Tue Oct 9 08:07:19 EDT 2012


raeburn		Tue Oct  9 12:07:19 2012 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonmenu.pm 
  Log:
  - For 2.11.
    - Default if no environment.remote set is for no remote.
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.369.2.24 loncom/interface/lonmenu.pm:1.369.2.25
--- loncom/interface/lonmenu.pm:1.369.2.24	Wed Sep 26 00:39:32 2012
+++ loncom/interface/lonmenu.pm	Tue Oct  9 12:07:18 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.369.2.24 2012/09/26 00:39:32 raeburn Exp $
+# $Id: lonmenu.pm,v 1.369.2.25 2012/10/09 12:07:18 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -488,7 +488,7 @@
     if ($env{'request.state'} eq 'construct') {
         $force_title=&Apache::lonxml::display_title();
     }
-    if (($env{'environment.remote'} eq 'off') ||
+    if (($env{'environment.remote'} ne 'on') ||
         ((($env{'request.publicaccess'}) ||
          (!&Apache::lonnet::is_on_map(
            &unescape($env{'request.noversionuri'})))) &&
@@ -517,7 +517,7 @@
 
     $env{'request.registered'} = 1;
 
-    my $noremote = ($env{'environment.remote'} eq 'off');
+    my $noremote = ($env{'environment.remote'} ne 'on');
 
     undef(@inlineremote);
 




More information about the LON-CAPA-cvs mailing list