--- loncom/interface/statistics/lonstudentassessment.pm 2002/10/24 20:58:06 1.17 +++ loncom/interface/statistics/lonstudentassessment.pm 2002/12/06 21:11:48 1.19 @@ -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.19 2002/12/06 21:11:48 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++; } }