--- loncom/interface/lonmenu.pm 2003/04/17 14:51:31 1.61 +++ loncom/interface/lonmenu.pm 2003/04/18 01:20:25 1.64 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.61 2003/04/17 14:51:31 www Exp $ +# $Id: lonmenu.pm,v 1.64 2003/04/18 01:20:25 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -344,7 +344,7 @@ $inlinebuttons $tableend $form <script> -//END LON-CAPA Internal +// END LON-CAPA Internal </script> ENDREGTEXT @@ -590,7 +590,7 @@ sub switch { my $text=$top.' '.$bot; $text=~s/\- //; $inlineremote[10*$row+$col]="\n".($nobreak?' ':'<br />'). - '<a href="javascript:'.$act.';" target="_top">'.$text.'</a> '. + '<a href="javascript:'.$act.';">'.$text.'</a> '. ($nobreak?'':$desc); } else { # Inline Remote @@ -600,7 +600,7 @@ sub switch { $inlineremote[10*$row+$col]="\n". ($nobreak==3?'<td width="50%" colspan="2" align="right"':'<tr><td'). ' bgcolor="'.$tabbg.'"'.($nobreak==1?' width="50%" colspan="2"':''). - '"><a href="javascript:'.$act.';" target="_top"><font color="'.$font.'"'. + '"><a href="javascript:'.$act.';"><font color="'.$font.'"'. ($nobreak?' size="+1"':''). '>'.$text.'</font></a></td>'. ($nobreak?'':'<td colspan="3" width="80%"><font color="'.$font.'" size="-1">'.$desc.'</font>').($nobreak!=1?'</tr>':''); @@ -802,7 +802,7 @@ ENDUTILITY sub serverform { return(<<ENDSERVERFORM); -<form name="server" action="/adm/logout" method="post"> +<form name="server" action="/adm/logout" method="post" target="_top"> <input type="hidden" name="postdata" value="none" /> <input type="hidden" name="command" value="none" /> <input type="hidden" name="url" value="none" />