version 1.131, 2006/05/01 16:11:25
|
version 1.135, 2006/05/18 01:08:50
|
Line 63 use Apache::loncoursedata;
|
Line 63 use Apache::loncoursedata;
|
use Apache::lonhtmlcommon; |
use Apache::lonhtmlcommon; |
use Apache::lonmysql; |
use Apache::lonmysql; |
use Apache::lonlocal; |
use Apache::lonlocal; |
|
use Apache::longroup; |
use Time::HiRes; |
use Time::HiRes; |
# |
# |
# Statistics Packages |
# Statistics Packages |
Line 230 sub PrepareClasslist {
|
Line 231 sub PrepareClasslist {
|
$enrollment_status = $env{'form.Status'} if (exists($env{'form.Status'})); |
$enrollment_status = $env{'form.Status'} if (exists($env{'form.Status'})); |
# |
# |
# Get groupmembership |
# Get groupmembership |
my (%curr_groups,$classgroups,$studentgroups); |
my ($classgroups,$studentgroups); |
my $numgroups = &Apache::loncommon::coursegroups(\%curr_groups,$cdom,$cnum); |
my %curr_groups = &Apache::longroup::coursegroups($cdom,$cnum); |
if ($numgroups) { |
if (%curr_groups) { |
($classgroups,$studentgroups) = |
($classgroups,$studentgroups) = |
&Apache::loncoursedata::get_group_memberships($classlist, |
&Apache::loncoursedata::get_group_memberships($classlist, |
$cdom,$cnum); |
$field_names, |
|
$cdom,$cnum); |
} |
} |
my $now = time; |
my $now = time; |
|
|
Line 922 sub DisplayClasslist {
|
Line 924 sub DisplayClasslist {
|
# |
# |
# Output some of the standard interface components |
# Output some of the standard interface components |
my $Str; |
my $Str; |
$Str .= &Apache::lonhtmlcommon::breadcrumbs(undef,'Select One Student'); |
$Str .= &Apache::lonhtmlcommon::breadcrumbs('Select One Student'); |
$Str .= '<p><table cellspacing="5">'."\n"; |
$Str .= '<p><table cellspacing="5">'."\n"; |
$Str .= '<tr>'; |
$Str .= '<tr>'; |
$Str .= '<th align="center"><b>'.&mt('Sections').'</b></th>'; |
$Str .= '<th align="center"><b>'.&mt('Sections').'</b></th>'; |
Line 1163 ENDSTYLE
|
Line 1165 ENDSTYLE
|
bug=>'Statistics and Charts'}); |
bug=>'Statistics and Charts'}); |
if (! exists($env{'form.reportSelected'}) || |
if (! exists($env{'form.reportSelected'}) || |
$env{'form.reportSelected'} eq '') { |
$env{'form.reportSelected'} eq '') { |
$r->print(&Apache::lonhtmlcommon::breadcrumbs |
$r->print(&Apache::lonhtmlcommon::breadcrumbs('Statistics Main Page'). |
(undef,&mt('Statistics Main Page')). |
|
&CreateMainMenu()); |
&CreateMainMenu()); |
} else { |
} else { |
# |
# |