version 1.347, 2019/08/07 19:32:38
|
version 1.348, 2019/08/11 16:19:52
|
Line 671 sub file_selector {
|
Line 671 sub file_selector {
|
my $free_space = $maxfilesize * 1048576; |
my $free_space = $maxfilesize * 1048576; |
$result .= &mt('Submit a file: (only one file per submission)'). |
$result .= &mt('Submit a file: (only one file per submission)'). |
' <br /><input type="file" size="50" name="HWFILE'.$jspart.'_'.$id. |
' <br /><input type="file" size="50" name="HWFILE'.$jspart.'_'.$id. |
'" id="HWFILE'.$jspart.'_'.$id.'" class="LC_flUpload" />'. |
'" id="HWFILE'.$jspart.'_'.$id.'" class="LC_flUpload LC_hwkfile" />'. |
'<input type="hidden" id="free_space" value="'.$free_space.'" /><br />'; |
'<input type="hidden" id="LC_free_space_'.$jspart.'_'.$id.'"'. |
|
' value="'.$free_space.'" /><br />'; |
} |
} |
if ( $which eq 'both') { |
if ( $which eq 'both') { |
$result.='<br />'.'<strong>'.&mt('OR:').'</strong><br />'; |
$result.='<br />'.'<strong>'.&mt('OR:').'</strong><br />'; |