--- rat/lonambiguous.pm 2003/01/14 18:47:50 1.8 +++ rat/lonambiguous.pm 2004/12/20 20:13:03 1.12 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to resolve ambiguous file locations # -# $Id: lonambiguous.pm,v 1.8 2003/01/14 18:47:50 www Exp $ +# $Id: lonambiguous.pm,v 1.12 2004/12/20 20:13:03 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -37,6 +37,8 @@ use strict; use Apache::lonnet; use Apache::Constants qw(:common REDIRECT); use GDBM_File; +use Apache::loncommon; +use Apache::lonlocal; my %bighash; @@ -53,21 +55,32 @@ sub cleanup { sub getlost { my ($r,$errmsg)=@_; + $errmsg=&mt($errmsg); $r->content_type('text/html'); $r->send_http_header; $r->print( - '
'.$errmsg. + '