--- loncom/interface/statistics/lonproblemstatistics.pm 2003/06/02 13:58:43 1.51 +++ loncom/interface/statistics/lonproblemstatistics.pm 2003/06/13 20:27:17 1.53 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonproblemstatistics.pm,v 1.51 2003/06/02 13:58:43 matthew Exp $ +# $Id: lonproblemstatistics.pm,v 1.53 2003/06/13 20:27:17 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -202,6 +202,7 @@ sub CreateInterface { $Str .= &CreateAndParseOutputSelector(); $Str .= ''."\n"; $Str .= ''."\n"; + $Str .= ''; return $Str; } @@ -362,14 +363,6 @@ sub BuildProblemStatisticsPage { '" />'); $r->print(''); if (! exists($ENV{'form.statsfirstcall'})) { - $r->print(< - -Please make your selections in the boxes above and hit -the button marked "Update Display". - -

-ENDMSG return; } # @@ -714,8 +707,7 @@ sub statistics_html_table_data { } $row .= '>'; if (exists($field->{'special'}) && $field->{'special'} eq 'link') { - $row .= ''; + $row .= ''; } if (exists($field->{'format'})) { $row .= sprintf($field->{'format'},$data->{$field->{'name'}}); @@ -786,7 +778,6 @@ sub plot_statistics { } } return if (! defined($sortfield) || $sortfield eq ''); - &Apache::lonnet::logthis('data field = '.$datafield); # my $Max = 0; my $problem_num = 0; @@ -890,7 +881,8 @@ sub get_statistics { $data->{'problem_num'} = $problem_num; $data->{'container'} = $sequence->{'title'}; $data->{'title'} = $resource->{'title'}; - $data->{'title.link'} = $resource->{'src'}; + $data->{'title.link'} = $resource->{'src'}.'?symb='. + &Apache::lonnet::escape($resource->{'symb'}); # return $data; }