--- loncom/interface/lonmenu.pm 2007/04/13 20:22:15 1.214 +++ loncom/interface/lonmenu.pm 2007/04/24 23:26:02 1.217 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.214 2007/04/13 20:22:15 albertel Exp $ +# $Id: lonmenu.pm,v 1.217 2007/04/24 23:26:02 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -486,9 +486,14 @@ s&8&3&prt.gif&prepare[_1]&printout[_1]&g s&9&1&sbkm.gif&set[_1]&bookmark[_2]&set_bookmark()&Set a bookmark for this resource&&1 s&9&3&anot.gif&anno-[_1]&tations[_1]&annotate()&Make notes and annotations about this resource&&1 ENDMENUITEMS + unless ($env{'request.noversionuri'}=~/\/(bulletinboard|smppg|navmaps|syllabus|aboutme)(\?|$)/) { - $menuitems.=(<'. ''.$pic.' - '.$text.''; + '.$text.''; } else { $inlineremote[$idx]="\n". ''. ''.$pic. ''. - $desc.''; + ''.$desc.''; } } else { # Inline Menu $inlineremote[$idx]= - ''.$pic. - ''.$desc.''; + ''.$pic. + ''.$desc.''; } } return ''; @@ -1233,7 +1238,7 @@ function annotate() { '$start_page_annotate' +"
" - +"" + +"" +"<\\/form>" +'$end_page_annotate'); annotator.document.close();