--- loncom/homework/inputtags.pm 2019/03/18 20:21:14 1.333.2.5
+++ loncom/homework/inputtags.pm 2019/08/07 21:10:37 1.333.2.6
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# input definitons
#
-# $Id: inputtags.pm,v 1.333.2.5 2019/03/18 20:21:14 raeburn Exp $
+# $Id: inputtags.pm,v 1.333.2.6 2019/08/07 21:10:37 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -667,9 +667,11 @@ sub file_selector {
$result .= $constraints.'
';
}
if ($which eq 'uploadonly' || $which eq 'both') {
- $result.=&mt('Submit a file: (only one file per submission)').
- '
';
+ my $free_space = $maxfilesize * 1048576;
+ $result .= &mt('Submit a file: (only one file per submission)').
+ '
'.
+ '
';
}
if ( $which eq 'both') {
$result.='
'.''.&mt('OR:').'
';