version 1.333.2.6, 2019/08/07 21:10:37
|
version 1.333.2.7, 2019/08/11 17:16:25
|
Line 666 sub file_selector {
|
Line 666 sub file_selector {
|
if ($constraints) { |
if ($constraints) { |
$result .= $constraints.'<br />'; |
$result .= $constraints.'<br />'; |
} |
} |
if ($which eq 'uploadonly' || $which eq 'both') { |
if ($which eq 'uploadonly' || $which eq 'both') { |
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 />'; |
Line 693 sub file_selector {
|
Line 694 sub file_selector {
|
&mt('Select Portfolio Files: (one or more files per submission)').'</a><br />'. |
&mt('Select Portfolio Files: (one or more files per submission)').'</a><br />'. |
'<input type="text" size="50" name="HWPORT'.$jspart.'_'.$id.'" value="" />'. |
'<input type="text" size="50" name="HWPORT'.$jspart.'_'.$id.'" value="" />'. |
'<br />'; |
'<br />'; |
|
|
} |
} |
$result.=&Apache::lonhtmlcommon::row_closure(1); |
$result.=&Apache::lonhtmlcommon::row_closure(1); |
return $result; |
return $result; |