--- loncom/homework/inputtags.pm 2010/09/05 20:57:42 1.271 +++ loncom/homework/inputtags.pm 2010/11/09 17:41:47 1.271.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.271 2010/09/05 20:57:42 raeburn Exp $ +# $Id: inputtags.pm,v 1.271.2.1 2010/11/09 17:41:47 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -576,6 +576,7 @@ sub current_file_submissions { } foreach my $name (sort(keys(%okfiles))) { if (ref($okfiles{$name}) eq 'ARRAY') { + my $num = 0; foreach my $url (@{$okfiles{$name}}) { if (ref($rows{$url}) eq 'HASH') { my $link = $rows{$url}{link}; @@ -592,7 +593,8 @@ sub current_file_submissions { if ($Apache::inputtags::status[-1] eq 'CAN_ANSWER') { $result .= ''."\n"; + ' value="'.$portfile.'" id="HWFILE'.$jspart.'_'.$id.'_'.$num.'_delete" />'."\n"; + $num ++; } my $showname = $rows{$url}{path}.$name; if ($legacy{$url}) { @@ -610,7 +612,9 @@ sub current_file_submissions { } } if ($header_shown) { - $result .= &Apache::loncommon::end_data_table(); + $result .= &Apache::loncommon::end_data_table(). + '
'. + &mt('Items checked for deletion will not be included amongst the files evaluated when your submission is graded.').''; } if (@bad_file_list) { my $bad_files = ''.