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

raeburn raeburn@source.lon-capa.org
Tue, 20 Oct 2009 03:18:14 -0000


raeburn		Tue Oct 20 03:18:14 2009 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  - No inline menu item for Metadata for external resource.
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.293 loncom/interface/lonmenu.pm:1.294
--- loncom/interface/lonmenu.pm:1.293	Tue Oct 20 01:57:42 2009
+++ loncom/interface/lonmenu.pm	Tue Oct 20 03:18:14 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.293 2009/10/20 01:57:42 raeburn Exp $
+# $Id: lonmenu.pm,v 1.294 2009/10/20 03:18:14 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -769,7 +769,7 @@
                 }
             }
             unless ($env{'request.noversionuri'}=~/\/(bulletinboard|smppg|navmaps|syllabus|aboutme)(\?|$)/) {
-		if (!$env{'request.enc'}) {
+		if ((!$env{'request.enc'}) && ($env{'request.noversionuri'} !~ m{^/adm/wrapper/ext/})) {
 		    $menuitems.=(<<ENDREALRES);
 s&6&3&catalog.gif&catalog[_2]&info[_1]&catalog_info()&Show Metadata
 ENDREALRES