--- loncom/interface/lonmenu.pm 2008/06/04 23:00:49 1.237 +++ loncom/interface/lonmenu.pm 2008/06/13 01:07:50 1.238 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.237 2008/06/04 23:00:49 bisitz Exp $ +# $Id: lonmenu.pm,v 1.238 2008/06/13 01:07:50 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -898,8 +898,9 @@ sub switch { $top=&mt($top); $bot=&mt($bot); $desc=&mt($desc); - $img=&mt($img); - + if (($env{'environment.remote'} ne 'off') || ($env{'environment.icons'} eq 'classic')) { + $img=&mt($img); + } my $idx=10*$row+$col; $category_members{$cat}.=':'.$idx;