--- loncom/publisher/lonpublisher.pm 2001/03/29 21:45:06 1.21 +++ loncom/publisher/lonpublisher.pm 2001/04/03 11:07:36 1.22 @@ -631,8 +631,19 @@ if (-e $target) { my $thisdistarget=$target; $thisdistarget=~s/^$docroot//; + my $thissrc=$source; + $thissrc=~s/^\/home\/(\w+)\/public_html/\/priv\/$1/; + + my $thissrcdir=$thissrc; + $thissrcdir=~s/\/[^\/]+$/\//; + + return $scrout. - '

View Target'; + '


View Target'. + '

Back to Source'. + '

Back to Source Directory'; + } # ================================================================ Main Handler