Diff for /loncom/homework/inputtags.pm between versions 1.271.2.3 and 1.271.2.4

version 1.271.2.3, 2010/12/21 14:56:03 version 1.271.2.4, 2010/12/31 19:10:16
Line 596  sub current_file_submissions { Line 596  sub current_file_submissions {
             }              }
         }          }
     }      }
       my $num = 0;
     foreach my $name (sort(keys(%okfiles))) {      foreach my $name (sort(keys(%okfiles))) {
         if (ref($okfiles{$name}) eq 'ARRAY') {          if (ref($okfiles{$name}) eq 'ARRAY') {
             my $num = 0;  
             foreach my $url (@{$okfiles{$name}}) {              foreach my $url (@{$okfiles{$name}}) {
                 if (ref($rows{$url}) eq 'HASH') {                  if (ref($rows{$url}) eq 'HASH') {
                     my $link = $rows{$url}{link};                      my $link = $rows{$url}{link};
Line 624  sub current_file_submissions { Line 624  sub current_file_submissions {
                         }                          }
                         $result .=                           $result .= 
                             '<td><a href="'.$link.'"><img src="'.$icon.                              '<td><a href="'.$link.'"><img src="'.$icon.
                             '" border="0" />'.$showname.'</a></td>'."\n".                              '" border="0" alt="" />'.$showname.'</a></td>'."\n".
                             '<td align="right" valign="bottom">'.$rows{$url}{size}.'</td>'."\n".                              '<td align="right" valign="bottom">'.$rows{$url}{size}.'</td>'."\n".
                             '<td align="right" valign="bottom">'.$rows{$url}{lastmodified}.'</td>'."\n".                              '<td align="right" valign="bottom">'.$rows{$url}{lastmodified}.'</td>'."\n".
                             &Apache::loncommon::end_data_table_row();                              &Apache::loncommon::end_data_table_row();
Line 636  sub current_file_submissions { Line 636  sub current_file_submissions {
     if ($header_shown) {      if ($header_shown) {
         $result .= &Apache::loncommon::end_data_table().          $result .= &Apache::loncommon::end_data_table().
                    '<br /><span class="LC_warning">'.                     '<br /><span class="LC_warning">'.
                    &mt('Items checked for deletion will not be included amongst the files evaluated when your submission is graded.').'</span>';                     &mt('Exclude existing file(s) from grading by checking the "Delete?" checkbox(es) and clicking "Submit Answer"').'</span>';
     }      }
     if (@bad_file_list) {      if (@bad_file_list) {
         my $bad_files = '<span class="LC_filename">'.          my $bad_files = '<span class="LC_filename">'.

Removed from v.1.271.2.3  
changed lines
  Added in v.1.271.2.4


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