--- loncom/publisher/lonpublisher.pm 2011/11/07 18:29:17 1.276 +++ loncom/publisher/lonpublisher.pm 2012/03/14 20:54:02 1.279 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Publication Handler # -# $Id: lonpublisher.pm,v 1.276 2011/11/07 18:29:17 raeburn Exp $ +# $Id: lonpublisher.pm,v 1.279 2012/03/14 20:54:02 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1017,6 +1017,11 @@ sub publish { $outdep.= ' - '.&mt('Currently not available'). ''; } else { +# +# Store the fact that the dependency has been used by the target file +# Unfortunately, usage is erroneously named sequsage in lonmeta.pm +# The translation happens in lonmetadata.pm +# my %temphash=(&Apache::lonnet::declutter($target).'___'. &Apache::lonnet::declutter($thisdep).'___usage' => time); @@ -2144,7 +2149,7 @@ sub handler { &Apache::lonhtmlcommon::clear_breadcrumbs(); &Apache::lonhtmlcommon::add_breadcrumb({ 'text' => 'Construction Space', - 'href' => &Apache::loncommon::authorspace(), + 'href' => &Apache::loncommon::authorspace($fn), }); &Apache::lonhtmlcommon::add_breadcrumb({ 'text' => 'Resource Publication',