--- loncom/interface/lonhelper.pm 2012/10/29 17:38:56 1.189
+++ loncom/interface/lonhelper.pm 2015/08/14 15:34:01 1.194
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# .helper XML handler to implement the LON-CAPA helper
#
-# $Id: lonhelper.pm,v 1.189 2012/10/29 17:38:56 raeburn Exp $
+# $Id: lonhelper.pm,v 1.194 2015/08/14 15:34:01 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -651,7 +651,7 @@ sub display {
$result .= $buttons;
- #foreach my $key (keys %{$self->{VARS}}) {
+ #foreach my $key (keys(%{$self->{VARS}})) {
# $result .= "|$key| -> " . $self->{VARS}->{$key} . "
";
#}
@@ -2396,7 +2396,7 @@ BUTTONS
$result .= "
$text | ";
}
}
- $result .= "Select | ";
+ $result .= ''.&Apache::lonlocal::mt('Select').' | ';
$result .= ""; # Close off the extra row and start a new one.
$headings_done = 1;
}
@@ -2493,9 +2493,9 @@ BUTTONS
&HTML::Entities::encode(&$valueFunc($resource),"<>&\"'");
if ($addparts && (scalar(@{$resource->parts}) > 1)) {
$col .= "";
}
@@ -2540,7 +2540,8 @@ RADIO
'closeAllPages' => $self->{'closeallpages'},
'suppressEmptySequences' => $self->{'suppressEmptySequences'},
'include_top_level_map' => $self->{'include_top_level_map'},
- 'iterator_map' => $mapUrl }
+ 'iterator_map' => $mapUrl,
+ 'map_no_edit_link' => 1, }
);
$result .= $buttons;
@@ -3633,7 +3634,7 @@ sub render {
my @results;
# Collect all the results
- for my $stateName (keys %{$helper->{STATES}}) {
+ for my $stateName (keys(%{$helper->{STATES}})) {
my $state = $helper->{STATES}->{$stateName};
for my $element (@{$state->{ELEMENTS}}) {