version 1.185, 2017/08/07 20:22:13
|
version 1.187, 2019/08/07 16:08:04
|
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="free_space" value="'.$attachmax{'num'}.'" />'; |
} |
} |
Line 2653 sub displayresource {
|
Line 2653 sub displayresource {
|
} |
} |
# Could not get a symb, give up |
# Could not get a symb, give up |
unless ($symb) { return $content{'citation'}; } |
unless ($symb) { return $content{'citation'}; } |
|
if ($symb =~ /ext\.tool$/) { |
|
return '<h2>'.&mt('Current transactions for student (if applicable)').'</h2>'. |
|
&Apache::loncommon::get_previous_attempt($symb, |
|
$content{'sendername'}, |
|
$content{'senderdomain'}, |
|
$content{'courseid'}); |
|
} |
# Have a symb, can render |
# Have a symb, can render |
return '<h2>'.&mt('Current attempts of student (if applicable)').'</h2>'. |
return '<h2>'.&mt('Current attempts of student (if applicable)').'</h2>'. |
&Apache::loncommon::get_previous_attempt($symb, |
&Apache::loncommon::get_previous_attempt($symb, |