Diff for /loncom/interface/lonstatistics.pm between versions 1.43 and 1.44

version 1.43, 2002/08/13 15:01:07 version 1.44, 2002/08/14 16:18:55
Line 82  sub ProcessFormData{ Line 82  sub ProcessFormData{
     &CheckFormElement($cache, 'DownloadAll', 'DownloadAll', 'false');      &CheckFormElement($cache, 'DownloadAll', 'DownloadAll', 'false');
     &CheckFormElement($cache, 'sort', 'sort', 'fullname');      &CheckFormElement($cache, 'sort', 'sort', 'fullname');
     &CheckFormElement($cache, 'download', 'download', 'false');      &CheckFormElement($cache, 'download', 'download', 'false');
       &CheckFormElement($cache, 'StatisticsMaps', 
                         'StatisticsMaps', 'All Maps');
       if(defined($ENV{'form.Section'})) {
           my @sectionsSelected = (ref($ENV{'form.Section'}) ?
                                  @{$ENV{'form.Section'}} :
                                   ($ENV{'form.Section'}));
           $cache->{'sectionsSelected'} = join(':', @sectionsSelected);
       } elsif(!defined($cache->{'sectionsSelected'})) {
           $cache->{'sectionsSelected'} = $cache->{'sectionList'};
       }
   
     # student assessment      # student assessment
     if(defined($ENV{'form.CreateStudentAssessment'}) ||      if(defined($ENV{'form.CreateStudentAssessment'}) ||
Line 102  sub ProcessFormData{ Line 112  sub ProcessFormData{
         &Apache::lonnet::unescape($cache->{'StudentAssessmentStudent'});          &Apache::lonnet::unescape($cache->{'StudentAssessmentStudent'});
     &CheckFormElement($cache, 'DefaultColumns', 'DefaultColumns', 'false');      &CheckFormElement($cache, 'DefaultColumns', 'DefaultColumns', 'false');
   
     if(defined($ENV{'form.Section'})) {  
         my @sectionsSelected = (ref($ENV{'form.Section'}) ?  
                                @{$ENV{'form.Section'}} :  
                                 ($ENV{'form.Section'}));  
         $cache->{'sectionsSelected'} = join(':', @sectionsSelected);  
     } elsif(!defined($cache->{'sectionsSelected'})) {  
         $cache->{'sectionsSelected'} = $cache->{'sectionList'};  
     }  
   
     # Problem analysis      # Problem analysis
     &CheckFormElement($cache, 'Interval', 'Interval', '1');      &CheckFormElement($cache, 'Interval', 'Interval', '1');
   
Line 119  sub ProcessFormData{ Line 120  sub ProcessFormData{
                       'DisplayFormat', 'Display Table Format');                        'DisplayFormat', 'Display Table Format');
     &CheckFormElement($cache, 'ProblemStatisticsAscend',      &CheckFormElement($cache, 'ProblemStatisticsAscend',
                       'ProblemStatisticsAscend', 'Ascending');                        'ProblemStatisticsAscend', 'Ascending');
     &CheckFormElement($cache, 'ProblemStatisticsMaps',   
                       'ProblemStatisticsMaps', 'All Maps');  
     &CheckFormElement($cache, 'ProblemStatisticsSort',      &CheckFormElement($cache, 'ProblemStatisticsSort',
                       'ProblemStatisticsSort', 'Homework Sets Order');                        'ProblemStatisticsSort', 'Homework Sets Order');
     &CheckFormElement($cache, 'DisplayLegend', 'DisplayLegend', 'Hide Legend');      &CheckFormElement($cache, 'DisplayLegend', 'DisplayLegend', 'Hide Legend');

Removed from v.1.43  
changed lines
  Added in v.1.44


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