--- loncom/homework/lonhomework.pm 2011/07/04 13:01:57 1.327 +++ loncom/homework/lonhomework.pm 2011/09/09 16:56:35 1.328 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.327 2011/07/04 13:01:57 raeburn Exp $ +# $Id: lonhomework.pm,v 1.328 2011/09/09 16:56:35 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -904,10 +904,10 @@ sub editxmlmode { my $problem=&Apache::lonnet::getfile($file); if ($problem eq -1) { &Apache::lonxml::error( - ' ' + '

' .&mt('Unable to find [_1]', ''.$file.'') - .''); + .'

'); $problem=''; } @@ -1014,9 +1014,10 @@ sub renderpage { $problem=''; my $filename=(split('/',$file))[-1]; my $error = - " ".&mt('Unable to find [_1]', + '

' + .&mt('Unable to find [_1]', ''.$filename.'') - .""; + ."

"; $result.= &Apache::loncommon::simple_error_page($request,'Not available', $error);