Diff for /loncom/interface/lonmeta.pm between versions 1.212.2.3 and 1.212.2.4

version 1.212.2.3, 2008/12/13 23:09:35 version 1.212.2.4, 2008/12/17 18:47:08
Line 951  sub present_uneditable_metadata { Line 951  sub present_uneditable_metadata {
         $rownum ++;          $rownum ++;
         $lastrow = 1 if ($rownum == @fields);          $lastrow = 1 if ($rownum == @fields);
         $table.=&Apache::lonhtmlcommon::row_title($lt{$field})          $table.=&Apache::lonhtmlcommon::row_title($lt{$field})
                 .&prettyprint($field,$content{$field}).                  .&prettyprint($field,$content{$field})
                 .&Apache::lonhtmlcommon::row_closure($lastrow);                  .&Apache::lonhtmlcommon::row_closure($lastrow);
         delete($content{$field});          delete($content{$field});
     }      }
Line 1033  sub print_dynamic_metadata { Line 1033  sub print_dynamic_metadata {
                 $rownum ++;                  $rownum ++;
                 $lastrow = 1 if ($rownum == @stats);                  $lastrow = 1 if ($rownum == @stats);
                 $r->print(&Apache::lonhtmlcommon::row_title($lt{$item})                  $r->print(&Apache::lonhtmlcommon::row_title($lt{$item})
                           .&prettyprint($item,sprintf('%5.2f',$dynmeta{$item})).                            .&prettyprint($item,sprintf('%5.2f',$dynmeta{$item}))
                           .&Apache::lonhtmlcommon::row_closure($lastrow)                            .&Apache::lonhtmlcommon::row_closure($lastrow)
                 );                  );
             }              }
Line 1047  sub print_dynamic_metadata { Line 1047  sub print_dynamic_metadata {
                       '</h4>');                        '</h4>');
             my $table=&Apache::loncommon::start_data_table()              my $table=&Apache::loncommon::start_data_table()
                       .&Apache::loncommon::start_data_table_header_row()                        .&Apache::loncommon::start_data_table_header_row()
                       .'<th>'.&mt('Course').'</th>'.                        .'<th>'.&mt('Course').'</th>'
                       .'<th>'.&mt('Section(s)').'</th>'.                        .'<th>'.&mt('Section(s)').'</th>'
                       .'<th>'.&mt('Num Student').'s</th>'.                        .'<th>'.&mt('Num Student').'s</th>'
                       .'<th>'.&mt('Mean Tries').'</th>'.                        .'<th>'.&mt('Mean Tries').'</th>'
                       .'<th>'.&mt('Degree of Difficulty').'</th>'.                        .'<th>'.&mt('Degree of Difficulty').'</th>'
                       .'<th>'.&mt('Degree of Discrimination').'</th>'.                        .'<th>'.&mt('Degree of Discrimination').'</th>'
                       .'<th>'.&mt('Time of computation').'</th>'.                        .'<th>'.&mt('Time of computation').'</th>'
                       .&Apache::loncommon::end_data_table_header_row().$/;                        .&Apache::loncommon::end_data_table_header_row().$/;
             foreach my $identifier (sort(keys(%{$dynmeta{'stats'}}))) {              foreach my $identifier (sort(keys(%{$dynmeta{'stats'}}))) {
                 my $data = $dynmeta{'stats'}->{$identifier};                  my $data = $dynmeta{'stats'}->{$identifier};

Removed from v.1.212.2.3  
changed lines
  Added in v.1.212.2.4


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