--- loncom/interface/lonstatistics.pm 2004/06/15 14:22:45 1.104 +++ loncom/interface/lonstatistics.pm 2004/06/24 19:17:49 1.105 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstatistics.pm,v 1.104 2004/06/15 14:22:45 matthew Exp $ +# $Id: lonstatistics.pm,v 1.105 2004/06/24 19:17:49 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -942,9 +942,31 @@ sub Gather_Full_Student_Data { sub DisplayClasslist { my ($r)=@_; # - my @Fields = ('fullname','username','domain','id','section'); + # Output some of the standard interface components + my $Str; + $Str .= '

'."\n"; + $Str .= ''; + $Str .= ''; + $Str .= ''; + $Str .= ''.$/; + $Str .= ''; + $Str .= ''; + $Str .= ''; + + $Str .= ''.$/; + $Str .= '
'.&mt('Sections').''.&mt('Enrollment Status').'
'. + &Apache::lonstatistics::SectionSelect('Section','multiple',5). + ''. + &Apache::lonhtmlcommon::StatusOptions(undef,undef,5). + '

'; + $Str .= ''; + $r->print($Str); + $r->rflush(); + # + my @Fields = ('fullname','username','domain','id','section','status'); # - my $Str=''; + $Str = ''; if (! @Students) { if ($SelectedSections[0] eq 'all') { if (lc($ENV{'form.Status'}) eq 'any') {