Diff for /loncom/homework/structuretags.pm between versions 1.121 and 1.122

version 1.121, 2002/10/01 21:04:34 version 1.122, 2002/10/02 18:14:07
Line 389  sub end_problem { Line 389  sub end_problem {
       $status ne 'UNCHECKEDOUT') {        $status ne 'UNCHECKEDOUT') {
       # if part is zero, no <part>s existed, so we need show the current         # if part is zero, no <part>s existed, so we need show the current 
       # grading status        # grading status
       my $gradestatus = &Apache::inputtags::gradestatus($Apache::inputtags::part);        my $gradestatus = &Apache::inputtags::gradestatus($Apache::inputtags::part,$target);
       #FIXME this is ugly we should just generate tex in inputtags  
       if ($target eq 'tex') { $gradestatus=&html_to_tex($gradestatus); }  
       if ($Apache::lonhomework::type ne 'exam') {$result.= $gradestatus;}        if ($Apache::lonhomework::type ne 'exam') {$result.= $gradestatus;}
     }      }
     if (      if (

Removed from v.1.121  
changed lines
  Added in v.1.122


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