--- loncom/homework/inputtags.pm 2005/06/28 21:41:08 1.170 +++ loncom/homework/inputtags.pm 2005/07/11 19:45:07 1.172 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.170 2005/06/28 21:41:08 albertel Exp $ +# $Id: inputtags.pm,v 1.172 2005/07/11 19:45:07 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -426,8 +426,10 @@ sub decideoutput { $message=&mt('Incorrect.'); $bgcolor=$possiblecolors{'charged_try'}; } - if ($award eq 'ASSIGNED_SCORE') { + if ($env{'request.filename'} =~ + m|/res/lib/templates/examupload.problem$|) { $message = &mt("A score has been assigned."); + $added_computer_text=1; } else { if ($target eq 'tex') { $message = '\textbf{'.$message.'}';