--- loncom/homework/bridgetask.pm 2010/09/27 20:59:41 1.254 +++ loncom/homework/bridgetask.pm 2010/10/12 16:07:43 1.255 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: bridgetask.pm,v 1.254 2010/09/27 20:59:41 raeburn Exp $ +# $Id: bridgetask.pm,v 1.255 2010/10/12 16:07:43 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -545,23 +545,35 @@ sub done_screen { my $title=&Apache::lonnet::gettitle($env{'request.uri'}); my @files=split(',',$Apache::lonhomework::history{'resource.'.$version.'.0.bridgetask.portfiles'}); my (undef,undef,$domain,$user)= &Apache::lonnet::whichuser(); - my $files = '
".&mt('Submitted non-existent file [_1]',$file)."
\n"; - } else { - $file = ''.$file.''; - $msg .= "".&mt('Submitted file [_1]',$file)."
\n"; - } - $files .= '".&mt('Submitted non-existent file [_1]',$file)."
\n"; + } else { + $file = ''.$file.''; + $msg .= "".&mt('Submitted file [_1]',$file)."
\n"; + } + $files .= ''.&mt('Files submitted: [_1]',$files).'
' + .''.&mt('You are now done with this Bridge Task').'
' + .''.&mt('Change to a different course').'
'; + } else { + $msg = &mt("Submission status: no files currently submitted, when 'Done' was indicated."); + $shown = ''. + &mt('You did not submit any files. Please try again.').'
'. + ''.&mt('Back to Bridge Task').'
'.&mt('Message sent to instructor: [_1]', $comment_status).'
'; } + return "'.&mt('Files submitted: [_1]',$files).'
' - .''.&mt('You are now done with this Bridge Task').'
' - .'