'
- .'';
+ .'';
}
if (&Apache::lonnet::allowed('srm',$env{'request.course.id'})
|| &Apache::lonnet::allowed('srm',$env{'request.course.id'}.
@@ -2653,6 +2653,13 @@ sub displayresource {
}
# Could not get a symb, give up
unless ($symb) { return $content{'citation'}; }
+ if ($symb =~ /ext\.tool$/) {
+ return '
'.&mt('Current transactions for student (if applicable)').'
'.
+ &Apache::loncommon::get_previous_attempt($symb,
+ $content{'sendername'},
+ $content{'senderdomain'},
+ $content{'courseid'});
+ }
# Have a symb, can render
return '
'.&mt('Current attempts of student (if applicable)').'
'.
&Apache::loncommon::get_previous_attempt($symb,
@@ -3002,7 +3009,7 @@ sub sendoffmail {
&Apache::lonnet::logthis('Failed to store To, Bcc and Cc recipients for '.$env{'user.name'}.':'.$env{'user.domain'});
}
if ($env{'form.attachment'}) {
- if (length($env{'form.attachment'})<131072) {
+ if (length($env{'form.attachment'}) <= 1048576) {
$attachmenturl=&Apache::lonnet::userfileupload('attachment',undef,'feedback/'.$now);
} else {
$r->print('
'.&mt('Attachment not included - exceeded permitted length').'