--- loncom/publisher/lonupload.pm 2011/11/02 23:19:22 1.58 +++ loncom/publisher/lonupload.pm 2012/04/16 19:32:04 1.60 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to upload files into construction space # -# $Id: lonupload.pm,v 1.58 2011/11/02 23:19:22 raeburn Exp $ +# $Id: lonupload.pm,v 1.60 2012/04/16 19:32:04 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -446,8 +446,9 @@ sub phasefour { my $dir_root = $r->dir_config('lonDocRoot').$url_root; my $path = &File::Basename::dirname($fn); $path =~ s{^\Q$url_root\E}{}; - $result .= &Apache::loncommon::modify_html_refs($mode,$path, - $uname,$udom,$dir_root); + my $outcome = + &Apache::loncommon::modify_html_refs($mode,$path,$uname,$udom,$dir_root); + $result .= $outcome; if ($mode ne 'imsimport' && $mode ne 'testbank') { $result .= '

'. &mt('View main file').'

'. @@ -517,7 +518,7 @@ ENDJS $trailfile =~ s{^/(priv/)}{$londocroot/$1}; # Breadcrumbs - my $brcrum = [{'href' => &Apache::loncommon::authorspace(), + my $brcrum = [{'href' => &Apache::loncommon::authorspace($fn), 'text' => 'Construction Space'}, {'href' => '/adm/upload', 'text' => 'Upload file to Construction Space'}];