--- loncom/interface/statistics/lonstudentassessment.pm 2002/10/24 20:58:06 1.17 +++ loncom/interface/statistics/lonstudentassessment.pm 2002/12/11 18:41:00 1.20 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # (Publication Handler # -# $Id: lonstudentassessment.pm,v 1.17 2002/10/24 20:58:06 minaeibi Exp $ +# $Id: lonstudentassessment.pm,v 1.20 2002/12/11 18:41:00 minaeibi Exp $ # # Copyright Michigan State University Board of Trustees # @@ -167,9 +167,9 @@ sub BuildStudentAssessmentPage { # $r->print("AverageTtal"); - $r->print(&StudentAverageTotal(\%cache, $spacing, $sequenceKeys)); - $r->print("\n"); - $r->rflush(); +# $r->print(&StudentAverageTotal(\%cache, $spacing, $sequenceKeys)); +# $r->print("\n"); +# $r->rflush(); untie(%cache); @@ -219,6 +219,17 @@ sub CreateInterface { $Str .= ''."\n"; $Str .= ''; + if (lc($ENV{'form.displaymode'}) ne 'display without links') { + $Str .= ''; + } my $code = $cache->{$name.':'.$problemID.':'.$_.':code'}; my $tries = $cache->{$name.':'.$problemID.':'.$_.':tries'}; if($code eq '*' && $tries < 10 && $tries ne '') { $code = $tries; } $Str .= $code; - $Str .= ''; + if (lc($ENV{'form.displaymode'}) ne 'display without links') { + $Str .= ''; + } $characterCount++; } } @@ -485,7 +500,7 @@ sub CreateLegend { " 1 correct by student in 1 try\n". " 7 correct by student in 7 tries\n". " * correct by student in more than 9 tries\n". - " + correct by override\n". + " + correct by hand grading or override\n". " - incorrect by override\n". " . incorrect attempted\n". " # ungraded attempted\n".