version 1.186, 2017/12/18 23:20:48
|
version 1.188, 2019/08/11 15:15:39
|
Line 1417 sub compout {
|
Line 1417 sub compout {
|
); |
); |
if (!$forwarding && !$multiforward) { |
if (!$forwarding && !$multiforward) { |
$attachrow = '<tr><td colspan="3"><b>'.$lt{'atta'}.'</b> '.$attachmax{'text'} |
$attachrow = '<tr><td colspan="3"><b>'.$lt{'atta'}.'</b> '.$attachmax{'text'} |
.': <input type="file" name="attachment" class="flUpload" multiple />' |
.': <input type="file" name="attachment" class="LC_flUpload" multiple />' |
.'</td></tr>' |
.'</td></tr>' |
.'<input type="hidden" id="free_space" value="'.$attachmax{'num'}.'" />'; |
.'<input type="hidden" id="LC_free_space" value="'.$attachmax{'num'}.'" />'; |
} |
} |
if (&Apache::lonnet::allowed('srm',$env{'request.course.id'}) |
if (&Apache::lonnet::allowed('srm',$env{'request.course.id'}) |
|| &Apache::lonnet::allowed('srm',$env{'request.course.id'}. |
|| &Apache::lonnet::allowed('srm',$env{'request.course.id'}. |