--- loncom/interface/lonnavmaps.pm 2009/10/26 10:16:56 1.437 +++ loncom/interface/lonnavmaps.pm 2009/11/02 12:10:34 1.438 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Navigate Maps Handler # -# $Id: lonnavmaps.pm,v 1.437 2009/10/26 10:16:56 foxr Exp $ +# $Id: lonnavmaps.pm,v 1.438 2009/11/02 12:10:34 wenzelju Exp $ # # Copyright Michigan State University Board of Trustees @@ -505,10 +505,11 @@ my %statusIconMap = $resObj->ERROR => '' ); -my %iconAltTags = +my %iconAltTags = #texthash does not work here ( 'navmap.correct.gif' => 'Correct', 'navmap.wrong.gif' => 'Incorrect', - 'navmap.open.gif' => 'Open' ); + 'navmap.open.gif' => 'Open', + 'navmap.partial.gif' => 'Partially Correct', ); # Defines a status->color mapping, null string means don't color my %colormap = @@ -1091,7 +1092,7 @@ sub render_quick_status { if ($icon) { my $location= &Apache::loncommon::lonhttpdurl("/adm/lonIcons/$icon"); - $result .= "$linkopen$alt$linkclose"; + $result .= $linkopen.''.&mt($alt).''.$linkclose; } else { $result .= " "; }