[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /homework inputtags.pm
raeburn
raeburn@source.lon-capa.org
Fri, 31 Dec 2010 19:10:16 -0000
raeburn Fri Dec 31 19:10:16 2010 EDT
Modified files: (Branch: version_2_10_X)
/loncom/homework inputtags.pm
Log:
- Backport 1.276, 1.277.
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.271.2.3 loncom/homework/inputtags.pm:1.271.2.4
--- loncom/homework/inputtags.pm:1.271.2.3 Tue Dec 21 14:56:03 2010
+++ loncom/homework/inputtags.pm Fri Dec 31 19:10:16 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# input definitons
#
-# $Id: inputtags.pm,v 1.271.2.3 2010/12/21 14:56:03 raeburn Exp $
+# $Id: inputtags.pm,v 1.271.2.4 2010/12/31 19:10:16 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -596,9 +596,9 @@
}
}
}
+ my $num = 0;
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};
@@ -624,7 +624,7 @@
}
$result .=
'<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}{lastmodified}.'</td>'."\n".
&Apache::loncommon::end_data_table_row();
@@ -636,7 +636,7 @@
if ($header_shown) {
$result .= &Apache::loncommon::end_data_table().
'<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) {
my $bad_files = '<span class="LC_filename">'.