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

raeburn raeburn at source.lon-capa.org
Thu Dec 27 21:03:13 EST 2012


raeburn		Fri Dec 28 02:03:13 2012 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	loncommon.pm 
  Log:
  - For 2.11
    - Modification to change in rev. 1.1075.2.21
    - Horizontal rule (Remote Control enabled) to separate header from content
      when no inline breadcrumbs or functions items included in current display. 
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1075.2.23 loncom/interface/loncommon.pm:1.1075.2.24
--- loncom/interface/loncommon.pm:1.1075.2.23	Thu Dec 27 14:37:46 2012
+++ loncom/interface/loncommon.pm	Fri Dec 28 02:03:13 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.1075.2.23 2012/12/27 14:37:46 raeburn Exp $
+# $Id: loncommon.pm,v 1.1075.2.24 2012/12/28 02:03:13 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -7492,7 +7492,10 @@
 		}else{
 			$result .= &Apache::lonhtmlcommon::breadcrumbs();
 		}
-    } elsif ($env{'request.noversionuri'} =~ m{^/res/}) {
+    } elsif (($env{'environment.remote'} eq 'on') &&
+             ($env{'form.inhibitmenu'} ne 'yes') &&
+             ($env{'request.noversionuri'} =~ m{^/res/}) &&
+             ($env{'request.noversionuri'} !~ m{^/res/adm/pages/})) {
         $result .= '<div style="padding:0;margin:0;clear:both"><hr /></div>';
     }
     return $result;




More information about the LON-CAPA-cvs mailing list