[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonmenu.pm
raeburn
raeburn at source.lon-capa.org
Thu Jan 3 15:19:10 EST 2013
raeburn Thu Jan 3 20:19:10 2013 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface lonmenu.pm
Log:
- For 2.11
- Backport 1.407
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.369.2.32 loncom/interface/lonmenu.pm:1.369.2.33
--- loncom/interface/lonmenu.pm:1.369.2.32 Mon Dec 31 14:54:55 2012
+++ loncom/interface/lonmenu.pm Thu Jan 3 20:19:10 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.369.2.32 2012/12/31 14:54:55 raeburn Exp $
+# $Id: lonmenu.pm,v 1.369.2.33 2013/01/03 20:19:10 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -268,7 +268,6 @@
if (ref($primary_submenu{$title}) eq 'ARRAY') {
foreach my $item (@{$primary_submenu{$title}}) {
next if (($item->[2] eq 'wishlist') && (!$env{'user.adv'}));
- next if (($item->[2] eq 'reqcrs') && (!&check_for_rcrs()));
next if ((($item->[2] eq 'portfolio') ||
($item->[2] eq 'blog')) &&
(!&Apache::lonnet::usertools_access('','',$item->[2],
@@ -1417,7 +1416,7 @@
'advtools', @funcs[61,71,72,73,74,92]);
} elsif ($env{'request.noversionuri'} eq '/adm/viewclasslist') {
&Apache::lonhtmlcommon::add_breadcrumb_tool(
- 'advtools', @funcs[61]);
+ 'advtools', $funcs[61]);
}
}
More information about the LON-CAPA-cvs
mailing list