--- loncom/publisher/lonpubdir.pm 2004/12/10 18:26:49 1.72 +++ loncom/publisher/lonpubdir.pm 2004/12/15 19:15:59 1.74 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Construction Space Directory Lister # -# $Id: lonpubdir.pm,v 1.72 2004/12/10 18:26:49 raeburn Exp $ +# $Id: lonpubdir.pm,v 1.74 2004/12/15 19:15:59 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -214,6 +214,7 @@ sub startpage { } my $pubdirscript=(< +top.document.title = '$thisdisfn/ - LON-CAPA Construction Space'; // Store directory location for menu bar to find parent.lastknownpriv='/~$uname$thisdisfn/'; @@ -332,7 +333,8 @@ parent.lastknownpriv='/~$uname$thisdisfn ENDPUBDIRSCRIPT $r->print($pubdirscript); - if (($uname ne $ENV{'user.name'}) || ($udom ne $ENV{'user.domain'})) { + if ((($uname ne $ENV{'user.name'}) || ($udom ne $ENV{'user.domain'})) && + $ENV{'environment.remote'} ne 'off') { $r->print('

'.&mt('Co-Author').': '.$uname.' at '.$udom. '

'); }