--- loncom/homework/lonhomework.pm 2013/06/04 22:20:24 1.338 +++ loncom/homework/lonhomework.pm 2013/08/20 14:37:33 1.339 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.338 2013/06/04 22:20:24 raeburn Exp $ +# $Id: lonhomework.pm,v 1.339 2013/08/20 14:37:33 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1065,13 +1065,11 @@ sub renderpage { $problem=''; my $filename=(split('/',$file))[-1]; my $error = - '
' - .&mt('Unable to find [_1]', - ''.$filename.'') - ."
"; + &mt('Unable to find [_1]', + ''.$filename.''); $result.= &Apache::loncommon::simple_error_page($request,'Not available', - $error); + $error,{'no_auto_mt_msg'}); return; }