--- loncom/interface/lonquickgrades.pm 2002/12/06 19:29:28 1.9 +++ loncom/interface/lonquickgrades.pm 2003/03/28 18:14:59 1.13 @@ -77,12 +77,6 @@ sub real_handler { # Keep this hash in sync with %statusIconMap in lonnavmaps; they # should match color/icon my $res = $navmap->firstResource(); # temp resource to access constants - - if (!defined($navmap)) { - my $requrl = $r->uri; - $ENV{'user.error.msg'} = "$requrl:bre:0:0:Course not initialized"; - return HTTP_NOT_ACCEPTABLE; - } # Header $r->print(&Apache::loncommon::bodytag('Quick Score Display','', @@ -173,7 +167,7 @@ HEADER # Second pass: Print the maps. $r->print(''); - $r->print('' . "\n\n"); + $r->print('' . "\n\n"); while ($depth > 0) { if ($curRes == $iterator->BEGIN_MAP()) {$depth++;} if ($curRes == $iterator->END_MAP()) { $depth--; } @@ -221,7 +215,7 @@ HEADER my $maxHelpLink = Apache::loncommon::help_open_topic("Quick_Grades_Possibly_Correct"); - $r->print("\n\n");
SequenceCorrect / Total
Done / Total
Total Parts Correct: $totalRight
"); + $r->print("
Total Parts Done: $totalRight
"); $r->print("Max Possible To Date $maxHelpLink: $totalPossible
"); $r->print("Total Parts In Course: $totalParts