--- loncom/interface/portfolio.pm 2007/06/11 17:13:30 1.180 +++ loncom/interface/portfolio.pm 2007/06/11 20:56:38 1.181 @@ -1,7 +1,7 @@ # The LearningOnline Network # portfolio browser # -# $Id: portfolio.pm,v 1.180 2007/06/11 17:13:30 albertel Exp $ +# $Id: portfolio.pm,v 1.181 2007/06/11 20:56:38 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1818,7 +1818,7 @@ sub upload { $port_path.$env{'form.currentpath'}, $mode,\%allfiles,\%codebase); if ($result !~ m|^/uploaded/|) { - $r->print(''.'An errror occured ('.$result. + $r->print(''.'An error occured ('.$result. ') while trying to upload '.&display_file().'
'); $r->print(&done('Back',$url)); } else { @@ -1870,7 +1870,7 @@ sub upload_embedded { &Apache::lonnet::userfileupload('embedded_item_'.$i,'', $port_path.$path); if ($result !~ m|^/uploaded/|) { - $r->print(''.'An errror occured ('.$result. + $r->print(''.'An error occured ('.$result. ') while trying to upload '.&display_file($path,$fname).'
'); next; } else { @@ -1953,7 +1953,7 @@ sub createdir { my $result=&Apache::lonnet::mkdiruserfile($uname,$udom, $port_path.$env{'form.currentpath'}.$newdir); if ($result ne 'ok') { - $r->print(''.'An errror occured ('.$result. + $r->print(''.'An error occured ('.$result. ') while trying to create a new directory '.&display_file().'
'); } }