--- loncom/homework/inputtags.pm 2008/07/26 19:11:23 1.244 +++ loncom/homework/inputtags.pm 2008/09/19 22:31:54 1.245.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.244 2008/07/26 19:11:23 raeburn Exp $ +# $Id: inputtags.pm,v 1.245.2.1 2008/09/19 22:31:54 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -729,11 +729,14 @@ sub decideoutput { $css_class=$possible_class{'not_charged_try'}; $button = 1; } elsif ($award eq 'MISSING_ANSWER') { - $message = &mt('Some items were not submitted.').&Apache::loncommon::help_open_topic('Some_Items_Were_Not_Submitted'); + $message = &mt('Some items were not submitted.'); + if ($target ne 'tex') { + $message .= &Apache::loncommon::help_open_topic('Some_Items_Were_Not_Submitted'); + } $css_class=$possible_class{'not_charged_try'}; $button = 1; } elsif ($award eq 'ERROR') { - $message = &mt('An error occured while grading your answer.'); + $message = &mt('An error occurred while grading your answer.'); $css_class=$possible_class{'not_charged_try'}; $button = 1; } elsif ($award eq 'TOO_LONG') {