--- loncom/interface/lonmenu.pm 2012/05/23 00:29:22 1.369.2.5 +++ loncom/interface/lonmenu.pm 2012/05/18 14:27:11 1.371 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.369.2.5 2012/05/23 00:29:22 raeburn Exp $ +# $Id: lonmenu.pm,v 1.371 2012/05/18 14:27:11 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -137,6 +137,9 @@ The javascript is usually similar to "go =item utilityfunctions() +Output from this routine is a number of javascript functions called by +items in the inline menu, and in some cases items in the Main Menu page. + =item serverform() =item constspaceform() @@ -164,9 +167,10 @@ use Apache::lonlocal; use Apache::lonmsg(); use LONCAPA qw(:DEFAULT :match); use HTML::Entities(); +use Apache::lonwishlist(); use vars qw(@desklines %category_names %category_members %category_positions - $readdesk @primary_menu %primary_submenu @secondary_menu %secondary_submenu); + $readdesk @primary_menu %primary_submenu @secondary_menu); my @inlineremote; @@ -234,11 +238,10 @@ sub primary_menu { $title = ''.$title. ''. - ' ▼'; + '▼'; } } - $menu .= '
  • '. - ''.$title.''; + $menu .= '
  • '.$title.''; if ($numsub) { $menu .= '