Diff for /loncom/interface/lonwhatsnew.pm between versions 1.56 and 1.57

version 1.56, 2006/05/30 20:16:23 version 1.57, 2006/05/31 14:25:02
Line 769  sub getitems { Line 769  sub getitems {
   
 # Maxtries and degree of difficulty for problem parts, unless handgradeable  # Maxtries and degree of difficulty for problem parts, unless handgradeable
         if ($$show{'abovethreshold'}) {            if ($$show{'abovethreshold'}) {  
             &check_thresholds($resource,$symb,\%resourcetracker,$triggered,              $warningnum = &check_thresholds($resource,$symb,\%resourcetracker,
                        $threshold,$warnings,$warningnum,$rowColor1,$rowColor2);                                              $triggered,$threshold,$warnings,
                                               $warningnum,$rowColor1,$rowColor2);
         }          }
   
     }      }
Line 880  sub check_thresholds { Line 881  sub check_thresholds {
         }          }
     }      }
     if ($warning) {      if ($warning) {
         if ($$warningnum %2 == 1) {          if ($warningnum%2 == 1) {
             $rowColor = $rowColor1;              $rowColor = $rowColor1;
         } else {          } else {
             $rowColor = $rowColor2;              $rowColor = $rowColor2;
Line 912  sub check_thresholds { Line 913  sub check_thresholds {
             }              }
         }          }
         push(@{$warnings},$symb);          push(@{$warnings},$symb);
         $$warningnum ++;          $warningnum ++;
     }      }
       return $warningnum;
 }  }
   
   

Removed from v.1.56  
changed lines
  Added in v.1.57


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