[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm
www
lon-capa-cvs-allow@mail.lon-capa.org
Fri, 13 Jun 2008 01:07:50 -0000
www Thu Jun 12 21:07:50 2008 EDT
Modified files:
/loncom/interface lonmenu.pm
Log:
Do not translate icons!!!
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.237 loncom/interface/lonmenu.pm:1.238
--- loncom/interface/lonmenu.pm:1.237 Wed Jun 4 19:00:49 2008
+++ loncom/interface/lonmenu.pm Thu Jun 12 21:07:50 2008
@@ -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 @@
$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;