\n";
+ $rb_count++;
}
}
}
@@ -169,7 +171,7 @@ sub ProblemSelector {
=pod
-=item &MultpleProblemSelector($navmap,$ResponseTypes,$selected,$inputname)
+=item &MultipleProblemSelector($navmap,$selected,$inputname)
Generate HTML with checkboxes for problem selection.
@@ -178,10 +180,6 @@ Input:
$navmap: a navmap object. If undef, navmaps will be called to create a
new object.
-$ResponseTypes: scalar containing regular expression which matches response
-types. Only those problems which contain the given response type will be
-shown.
-
$selected: Scalar, Array, or hash reference of currently selected items.
$inputname: The name of the form elements to use for the checkboxs.
@@ -194,7 +192,7 @@ and their contents. A checkbox is provi
####################################################
####################################################
sub MultipleProblemSelector {
- my ($navmap,$ReponseTypes,$inputname,$formname)=@_;
+ my ($navmap,$inputname,$formname)=@_;
my $cid = $ENV{'request.course.id'};
my $Str;
# Massage the input as needed.
@@ -209,12 +207,20 @@ sub MultipleProblemSelector {
my $selected = {map { ($_,1) } (&get_selected_symbs($inputname))};
# Header
$Str .= <<"END";
-