Diff for /loncom/interface/lonquickgrades.pm between versions 1.43.2.2 and 1.47

version 1.43.2.2, 2008/12/12 18:49:03 version 1.47, 2009/02/26 16:17:30
Line 81  sub real_handler { Line 81  sub real_handler {
     my $res = $navmap->firstResource(); # temp resource to access constants      my $res = $navmap->firstResource(); # temp resource to access constants
     
     # Header      # Header
     my $title = $showPoints ? "Points Display" : "Completed Problems Display";      my $title = "Grading and Statistics";#$showPoints ? "Points Display" : "Completed Problems Display";
     $r->print(&Apache::loncommon::start_page($title));      my $brcrum = [{href=>"/adm/quickgrades",text => "Points Display"}];
       $r->print(&Apache::loncommon::start_page($title,undef,
                                               {'bread_crumbs' => $brcrum})
                );
   
     if (!$showPoints && !$notshowSPRSlink ) {      if (!$showPoints && !$notshowSPRSlink ) {
         $r->print('<p>'          $r->print('<p>'
Line 255  sub real_handler { Line 258  sub real_handler {
                 for (my $i = 1; $i < $depth; $i++) { $thisIndent .= $indentString; }                  for (my $i = 1; $i < $depth; $i++) { $thisIndent .= $indentString; }
                                   
                 $r->print("$thisIndent$title</td>");                  $r->print("$thisIndent$title</td>");
                 if ($totalAttempted) {   if ($totalAttempted) {
                     $r->print('<td valign="top">'      $r->print('<td valign="top">'
                              .$thisIndent                               .$thisIndent
                              .'<span class="LC_nobreak">'                               .'<span class="LC_nobreak">'
                              .$correct.' / '.$attempted.' / '.$total                               .$correct.' / '.$attempted.' / '.$total
                              .'</span></td>');                               .'</span></td>'
                 } else {                               .&Apache::loncommon::end_data_table_row()
                     $r->print('<td valign="top">'                      );
    } else {
       $r->print('<td valign="top">'
                              .$thisIndent                               .$thisIndent
                              .'<span class="LC_nobreak">'                               .'<span class="LC_nobreak">'
                              .$correct.' / '.$total                               .$correct.' / '.$total
                              .'</span></td>');                               .'</span></td>'
                 }                               .&Apache::loncommon::end_data_table_row());
                 $r->print(&Apache::loncommon::end_data_table_row());   }
             }              }
         }          }
   

Removed from v.1.43.2.2  
changed lines
  Added in v.1.47


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>