--- loncom/interface/lonmenu.pm 2013/11/26 00:25:32 1.423 +++ loncom/interface/lonmenu.pm 2014/01/06 15:05:50 1.425 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.423 2013/11/26 00:25:32 raeburn Exp $ +# $Id: lonmenu.pm,v 1.425 2014/01/06 15:05:50 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -514,8 +514,11 @@ sub create_submenu { if ($count == $numsub) { $borderbot = 'border-bottom:1px solid black;'; } + if ($href ne '') { + $target = ' target="_top"'; + } $menu .= '
  • '; + $borderbot.'">'; if ($translate) { $menu .= &mt($item->[1]); } else { @@ -1387,7 +1390,7 @@ sub rawconfig { sub check_for_rcrs { my $showreqcrs = 0; - my @reqtypes = ('official','unofficial','community'); + my @reqtypes = ('official','unofficial','community','textbook'); foreach my $type (@reqtypes) { if (&Apache::lonnet::usertools_access($env{'user.name'}, $env{'user.domain'},