Diff for /loncom/homework/inputtags.pm between versions 1.144 and 1.145

version 1.144, 2004/06/04 22:06:07 version 1.145, 2004/06/04 22:31:25
Line 423  sub decideoutput { Line 423  sub decideoutput {
  $bgcolor=$possiblecolors{'not_charged_try'};   $bgcolor=$possiblecolors{'not_charged_try'};
  $button=1;   $button=1;
     } elsif ($award eq 'SIG_FAIL') {      } elsif ($award eq 'SIG_FAIL') {
  $message = &mt("Significant figures are incorrect, you provided [_1] significant figures while [_2] to [_3] were expected. Submission not graded.",(split(/:/,$awardmsg)));   my ($used,$min,$max)=split(':',$awardmsg);
    my $word;
    if ($used < $min) { $word=&mt('more'); }
    if ($used > $max) { $word=&mt('fewer'); }
    $message = &mt("Submission not graded.  Use [_2] digits.",$used,$word);
  $bgcolor=$possiblecolors{'not_charged_try'};   $bgcolor=$possiblecolors{'not_charged_try'};
  $button=1;   $button=1;
     } elsif ($award eq 'UNIT_INVALID_INSTRUCTOR') {      } elsif ($award eq 'UNIT_INVALID_INSTRUCTOR') {

Removed from v.1.144  
changed lines
  Added in v.1.145


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