--- loncom/interface/lonmenu.pm 2010/12/30 21:36:50 1.315.2.6 +++ loncom/interface/lonmenu.pm 2011/01/07 21:32:52 1.315.2.7 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.315.2.6 2010/12/30 21:36:50 raeburn Exp $ +# $Id: lonmenu.pm,v 1.315.2.7 2011/01/07 21:32:52 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -205,10 +205,10 @@ sub prep_menuitem { } else { # textual Link $link = &mt($$menuitem[3]); } - if($$menuitem[4] eq 'newmsg'){ #special style for New Messages - return '
  • '.$link.'
  • '; - } - return '
  • '.$link.'
  • '; + return '
  • $link
  • |; } # primary_menu() evaluates @primary_menu and returns XHTML for the menu @@ -1663,12 +1663,6 @@ function go(url) { } } -function gotop(url) { - if (url!='' && url!= null) { - top.location.href = url; - } -} - function need_switchserver(url) { if (url!='' && url!= null) { if (confirm("$confirm_switch")) {