--- loncom/interface/statistics/lonstudentassessment.pm 2003/06/11 15:04:55 1.57
+++ loncom/interface/statistics/lonstudentassessment.pm 2003/06/23 16:06:11 1.62
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentassessment.pm,v 1.57 2003/06/11 15:04:55 matthew Exp $
+# $Id: lonstudentassessment.pm,v 1.62 2003/06/23 16:06:11 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -140,6 +140,10 @@ sub BuildStudentAssessmentPage {
my ($r,$c)=@_;
undef($Statistics);
$single_student_mode = 1 if ($ENV{'form.SelectedStudent'});
+ if ($ENV{'form.selectstudent'}) {
+ &Apache::lonstatistics::DisplayClasslist($r);
+ return;
+ }
#
# Print out the HTML headers for the interface
# This also parses the output mode selector
@@ -149,6 +153,7 @@ sub BuildStudentAssessmentPage {
$r->print('');
$r->rflush();
+ #
if (! exists($ENV{'form.notfirstrun'}) && ! $single_student_mode) {
return;
}
@@ -292,8 +297,12 @@ sub CreateInterface {
$Str .= '
Student Data | ';
$Str .= 'Enrollment Status | ';
$Str .= 'Sequences and Folders | ';
- $Str .= 'Output Format | ';
- $Str .= 'Output Data | ';
+ $Str .= 'Output Format'.
+ &Apache::loncommon::help_open_topic("Chart_Output_Formats").
+ ' | ';
+ $Str .= 'Output Data'.
+ &Apache::loncommon::help_open_topic("Chart_Output_Data").
+ ' | ';
$Str .= ''."\n";
#
$Str .= ''."\n";
@@ -321,7 +330,13 @@ sub CreateInterface {
$Str .= ' |
'."\n";
$Str .= ''."\n";
$Str .= '';
- $Str .= ' 'x8;
+ $Str .= ' 'x5;
+ $Str .= '';
+ $Str .= ' 'x5;
+ $Str .= '';
+ $Str .= ' 'x5;
+ $Str .= '
';
return $Str;
}
@@ -379,7 +394,7 @@ my @OutputOptions =
sub OutputDescriptions {
my $Str = '';
- $Str .= "Output Modes
\n";
+ $Str .= "Output Formats
\n";
$Str .= "\n";
foreach my $outputmode (@OutputOptions) {
$Str .=" - ".$outputmode->{'name'}."
\n";
@@ -489,6 +504,7 @@ my @OutputDataOptions =
sub HTMLifyOutputDataDescriptions {
my $Str = '';
+ $Str .= "Output Data
\n";
$Str .= "\n";
foreach my $option (@OutputDataOptions) {
$Str .= ' - '.$option->{'name'}.'
';
@@ -1041,6 +1057,8 @@ END
($r,'Excel File Compilation Status',
'Excel File Compilation Progress', $studentcount);
#
+ &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,
+ 'Processing first student');
return;
}
@@ -1501,6 +1519,11 @@ sub StudentPerformanceOnSequence {
}
}
#
+ if (! defined($partscore)) {
+ $partscore = $symbol;
+ }
+ push (@ScoreData,$partscore);
+ #
if ( ($links eq 'yes' && $symbol ne ' ') || ($links eq 'all')) {
$symbol = ''.$symbol.'';
}
- if (! defined($partscore)) {
- $partscore = $symbol;
- }
- push (@ScoreData,$partscore);
+ $Str .= $symbol;
}
- $Str .= $symbol;
}
return ($Str,$performance_length,$score,$max,\@ScoreData);
}