--- loncom/interface/statistics/lonstathelpers.pm 2004/09/16 14:28:19 1.22 +++ loncom/interface/statistics/lonstathelpers.pm 2004/09/23 15:31:40 1.25 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstathelpers.pm,v 1.22 2004/09/16 14:28:19 matthew Exp $ +# $Id: lonstathelpers.pm,v 1.25 2004/09/23 15:31:40 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -169,7 +169,7 @@ sub ProblemSelector { =pod -=item &MultpleProblemSelector($navmap,$ResponseTypes,$selected,$inputname) +=item &MultipleProblemSelector($navmap,$selected,$inputname) Generate HTML with checkboxes for problem selection. @@ -178,10 +178,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 +190,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 +205,20 @@ sub MultipleProblemSelector { my $selected = {map { ($_,1) } (&get_selected_symbs($inputname))}; # Header $Str .= <<"END"; -