--- loncom/publisher/lonpubdir.pm 2009/05/28 17:08:38 1.122
+++ loncom/publisher/lonpubdir.pm 2009/11/06 18:01:44 1.124
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construction Space Directory Lister
#
-# $Id: lonpubdir.pm,v 1.122 2009/05/28 17:08:38 bisitz Exp $
+# $Id: lonpubdir.pm,v 1.124 2009/11/06 18:01:44 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -570,7 +570,7 @@ sub putdirectory {
}
$r->print('
'.
' | '.
+ $Apache::lonnet::perlvar{'lonIconsURL'}.'/navmap.folder.closed.gif" alt="folder" />'.
''.$actionitem.' | '.
''.
$disfilename.' | '.
@@ -629,9 +629,17 @@ sub putresource {
$meta_same = 0;
}
$publish_button=&mt('Re-publish');
- my $rights_status =
- &mt(&getCopyRightString($targetdir.'/'.$filename)).' '.
- &mt(&getSourceRightString($targetdir.'/'.$filename));
+
+ my $rights_status =
+ &mt(&getCopyRightString($targetdir.'/'.$filename)).', ';
+
+ my %lt_SourceRight = &Apache::lonlocal::texthash(
+ 'open' => 'Source: open',
+ 'closed' => 'Source: closed',
+ );
+ $rights_status .=
+ $lt_SourceRight{&getSourceRightString($targetdir.'/'.$filename)};
+
$title = ''.
&getTitleString($targetdir.'/'.$filename).'';