version 1.19, 2003/02/25 20:47:47
|
version 1.21, 2003/03/03 22:00:03
|
Line 173 sub BuildAnalyzePage {
|
Line 173 sub BuildAnalyzePage {
|
$Str = ''; |
$Str = ''; |
if($c->aborted()) { untie(%cache); return; } |
if($c->aborted()) { untie(%cache); return; } |
|
|
&Apache::lonhtmlcommon::Create_PrgWin($r, $title, $heading); |
|
|
|
my $count=0; |
my %prog_state=&Apache::lonhtmlcommon::Create_PrgWin($r, $title, |
|
$heading,$#$students+1); |
|
|
#Java script Progress window |
#Java script Progress window |
for(my $index=0; $index<(scalar @$students); $index++) { |
for(my $index=0; $index<(scalar @$students); $index++) { |
if($c->aborted()) { untie(%cache); return; } |
if($c->aborted()) { untie(%cache); return; } |
$count++; |
&Apache::lonhtmlcommon::Increment_PrgWin($r,\%prog_state, |
my $displayString = $count.'/'.$studentCount.': '.$_; |
'last student '.$students->[$index]); |
&Apache::lonhtmlcommon::Update_PrgWin($displayString, $r); |
|
&OpStatus($problemId, $students->[$index], \%ConceptData, |
&OpStatus($problemId, $students->[$index], \%ConceptData, |
$analyzeData->{'foil_to_concept'}, $analyzeData, |
$analyzeData->{'foil_to_concept'}, $analyzeData, |
\%cache, $courseID); |
\%cache, $courseID); |
} |
} |
&Apache::lonhtmlcommon::Close_PrgWin($r); |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
|
|
$Str .= '<br>'; |
$Str .= '<br>'; |
for (my $k=0; $k<$interval; $k++ ) { |
for (my $k=0; $k<$interval; $k++ ) { |