Diff for /loncom/interface/lonquickgrades.pm between versions 1.30 and 1.32

version 1.30, 2003/11/21 18:21:02 version 1.32, 2004/10/07 22:12:47
Line 150  HEADER Line 150  HEADER
     # it's an "attempted" point      # it's an "attempted" point
     if ($curRes->problemstatus($part) eq 'no' &&      if ($curRes->problemstatus($part) eq 'no' &&
  ($dateStatus != $curRes->ANSWER_OPEN)) {   ($dateStatus != $curRes->ANSWER_OPEN)) {
  $partsAttempted += $curRes->weight($part);   my $status = $curRes->simpleStatus($part);
  $totalAttempted += $partsAttempted;   if ($status == $curRes->ATTEMPTED) {
       $partsAttempted += $curRes->weight($part);
       $totalAttempted += $partsAttempted;
    }
     } else {      } else {
  $score = $curRes->weight($part) * $curRes->awarded($part);   $score = $curRes->weight($part) * $curRes->awarded($part);
     }      }
Line 283  HEADER Line 286  HEADER
   
     $r->print("</table></body></html>");      $r->print("</table></body></html>");
   
     $navmap->untieHashes();  
   
     return OK;      return OK;
 }  }
   

Removed from v.1.30  
changed lines
  Added in v.1.32


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>