--- loncom/interface/lonmenu.pm 2009/12/15 05:25:07 1.309.2.4 +++ loncom/interface/lonmenu.pm 2010/01/05 23:06:25 1.309.2.8 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.309.2.4 2009/12/15 05:25:07 raeburn Exp $ +# $Id: lonmenu.pm,v 1.309.2.8 2010/01/05 23:06:25 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -296,6 +296,9 @@ sub gci_secondary_menu { 'managetest' => '/adm/menu', ); my $current = 'managetest'; + if ($env{'form.destinationurl'} eq '/adm/gci_info') { + undef($current); + } foreach my $key (keys(%courses)) { $links{$key} = "javascript:switchpage('$key');"; if ($env{'request.course.id'} eq $courses{$key}) { @@ -1377,29 +1380,41 @@ sub inlinemenu { undef(@inlineremote); undef(%category_members); my $output; - if ($context eq 'gcicustom') { - my $createtext = &mt('Create Concept Test'); - if ($switcher) { - $createtext = &mt('Create New Test'); - } + if (($context eq 'gcicustom') || ($context eq 'gcistudent')) { $output='