--- loncom/interface/lonmenu.pm 2003/12/08 15:02:34 1.104 +++ loncom/interface/lonmenu.pm 2003/12/08 20:21:23 1.105 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.104 2003/12/08 15:02:34 raeburn Exp $ +# $Id: lonmenu.pm,v 1.105 2003/12/08 20:21:23 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -645,6 +645,7 @@ sub switch { $top=&mt($top); $bot=&mt($bot); $desc=&mt($desc); + $img=&mt($img); unless (($ENV{'browser.interface'} eq 'textual') || ($ENV{'environment.remote'} eq 'off')) { # Remote @@ -667,8 +668,12 @@ sub switch { if ($nobreak==2) { return ''; } my $text=$top.' '.$bot; $text=~s/\s*\-\s*//gs; + + my $lonhttpdPort=$Apache::lonnet::perlvar{'lonhttpdPort'}; + if (!defined($lonhttpdPort)) { $lonhttpdPort='8080'; } my $pic= - ''.$text.''; if (($ENV{'browser.interface'} eq 'textual') || ($ENV{'browser.interface'} eq 'faketextual')) { # Accessibility