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

raeburn raeburn@source.lon-capa.org
Tue, 05 Jan 2010 13:18:11 -0000


raeburn		Tue Jan  5 13:18:11 2010 EDT

  Modified files:              (Branch: GCI_3)
    /loncom/interface	lonmenu.pm 
  Log:
  - buttonshide also applies to Course Coordinators in Concept Tests in gcitest. 
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.309.2.5 loncom/interface/lonmenu.pm:1.309.2.6
--- loncom/interface/lonmenu.pm:1.309.2.5	Thu Dec 24 18:28:58 2009
+++ loncom/interface/lonmenu.pm	Tue Jan  5 13:18:11 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.309.2.5 2009/12/24 18:28:58 raeburn Exp $
+# $Id: lonmenu.pm,v 1.309.2.6 2010/01/05 13:18:11 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2013,7 +2013,9 @@
         return;
     }
     if ($env{'request.role.adv'}) {
-        return;
+        unless (&Apache::loncommon::needs_gci_custom()) {
+            return;
+        }
     }
     my $buttonshide = &Apache::lonnet::EXT('resource.0.buttonshide');
     return $buttonshide;