version 1.28, 2003/10/09 22:10:02
|
version 1.30, 2003/10/10 13:47:48
|
Line 64 sub BuildProblemAnalysisPage {
|
Line 64 sub BuildProblemAnalysisPage {
|
$base = "http://".$ENV{'SERVER_NAME'}.$base; |
$base = "http://".$ENV{'SERVER_NAME'}.$base; |
my $rendered_problem = |
my $rendered_problem = |
&Apache::lonnet::ssi_body($resource->{'src'}); |
&Apache::lonnet::ssi_body($resource->{'src'}); |
$rendered_problem =~ s/<form /<nop /g; |
$rendered_problem =~ s/<\s*form\s*/<nop /g; |
$rendered_problem =~ s/<\s*\/form\s>/<\/nop>/g; |
$rendered_problem =~ s|(<\s*/form\s*>)|<\/nop>|g; |
$r->print('<table bgcolor="ffffff"><tr><td>'. |
$r->print('<table bgcolor="ffffff"><tr><td>'. |
'<base href="'.$base.'" />'. |
'<base href="'.$base.'" />'. |
$rendered_problem. |
$rendered_problem. |
Line 191 sub DoTriesAnalysis {
|
Line 191 sub DoTriesAnalysis {
|
$PlotData[$i]->{'good'}, |
$PlotData[$i]->{'good'}, |
$PlotData[$i]->{'bad'}); |
$PlotData[$i]->{'bad'}); |
} else { |
} else { |
$graphlink = &Apache::loncomon::DrawGraph |
$graphlink = &Apache::loncommon::DrawGraph |
('Attempt '.$i.', '.$minstu.'-'.$maxstu. |
('Attempt '.$i.', '.$minstu.'-'.$maxstu. |
' students', |
' students', |
'Foil Number', |
'Foil Number', |