--- loncom/imspackages/imsimport.pm 2011/11/03 17:54:53 1.36 +++ loncom/imspackages/imsimport.pm 2012/10/29 17:38:59 1.38 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: imsimport.pm,v 1.36 2011/11/03 17:54:53 raeburn Exp $ +# $Id: imsimport.pm,v 1.38 2012/10/29 17:38:59 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -29,7 +29,6 @@ package Apache::imsimport; use strict; use Apache::Constants qw(:common :http :methods); -use Apache::loncacc; use Apache::loncommon(); use Apache::lonnet; use Apache::imsprocessor; @@ -676,7 +675,7 @@ sub handler { return HTTP_NOT_FOUND; } - my ($uname,$udom) = &Apache::loncacc::constructaccess($fn); + my ($uname,$udom) = &Apache::lonnet::constructaccess($fn); if (($uname eq '') || ($udom eq '')) { $r->log_reason($uname.' at '.$udom. ' trying to publish file '.$fn.' - not authorized', @@ -731,7 +730,7 @@ END_JS $r->print(&Apache::loncommon::start_page($title, $javascript)); if (($uname ne $env{'user.name'}) || ($udom ne $env{'user.domain'})) { - $r->print('

' + $r->print('

' .&mt('Co-Author [_1]',$uname.':'.$udom) .'

' );