Diff for /loncom/interface/statistics/lonstudentassessment.pm between versions 1.127 and 1.128

version 1.127, 2006/01/22 21:11:59 version 1.128, 2006/01/28 19:25:59
Line 1144  sub excel_initialize { Line 1144  sub excel_initialize {
             ! defined($formula_data{$symb}->{'Excel:endcell'})) {              ! defined($formula_data{$symb}->{'Excel:endcell'})) {
             $formula_data{$symb}->{'Excel:endcell'} = $formula_data{$symb}->{'Excel:startcell'};              $formula_data{$symb}->{'Excel:endcell'} = $formula_data{$symb}->{'Excel:startcell'};
         }          }
         # =IF(COUNT(B31:L31);SUM(B31:L31);"")  
         my $start = $formula_data{$symb}->{'Excel:startcell'};          my $start = $formula_data{$symb}->{'Excel:startcell'};
         my $end = $formula_data{$symb}->{'Excel:endcell'};          my $end = $formula_data{$symb}->{'Excel:endcell'};
         $formula_data{$symb}->{'Excel:sum'}= $excel_sheet->store_formula          $formula_data{$symb}->{'Excel:sum'}= $excel_sheet->store_formula
Line 1233  sub excel_initialize { Line 1233  sub excel_initialize {
                     $weight = 1;                      $weight = 1;
                     if ($chosen_output->{'scores'}) {                      if ($chosen_output->{'scores'}) {
                         $weight = &Apache::lonnet::EXT                          $weight = &Apache::lonnet::EXT
                             ('resource.'.$part.'.weight',$resource->{'symb'},                              ('resource.'.$part.'.weight',$resource->symb,
                              undef,undef,undef);                               undef,undef,undef);
                         if (!defined($weight) || ($weight eq '')) {                           if (!defined($weight) || ($weight eq '')) { 
                             $weight=1;                              $weight=1;

Removed from v.1.127  
changed lines
  Added in v.1.128


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