[LON-CAPA-cvs] cvs: loncom /interface lonmeta.pm

banghart lon-capa-cvs@mail.lon-capa.org
Fri, 14 Oct 2005 16:34:18 -0000


banghart		Fri Oct 14 12:34:18 2005 EDT

  Modified files:              
    /loncom/interface	lonmeta.pm 
  Log:
  	Add 'metadata' to all key values for retricted metadata
  
  
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.111 loncom/interface/lonmeta.pm:1.112
--- loncom/interface/lonmeta.pm:1.111	Fri Oct 14 00:24:12 2005
+++ loncom/interface/lonmeta.pm	Fri Oct 14 12:34:17 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Metadata display handler
 #
-# $Id: lonmeta.pm,v 1.111 2005/10/14 04:24:12 banghart Exp $
+# $Id: lonmeta.pm,v 1.112 2005/10/14 16:34:17 banghart Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -238,16 +238,16 @@
 sub fieldnames {
     my $file_type=shift;
     my %fields = 
-        ('title' => 'Title',
-         'author' =>'Author(s)',
-         'authorspace' => 'Author Space',
-         'modifyinguser' => 'Last Modifying User',
-         'subject' => 'Subject',
-         'keywords' => 'Keyword(s)',
-         'notes' => 'Notes',
-         'abstract' => 'Abstract',
-         'lowestgradelevel' => 'Lowest Grade Level',
-         'highestgradelevel' => 'Highest Grade Level');
+        ('metadata.title' => 'Title',
+         'metadata.author' =>'Author(s)',
+         'metadata.authorspace' => 'Author Space',
+         'metadata.modifyinguser' => 'Last Modifying User',
+         'metadata.subject' => 'Subject',
+         'metadata.keywords' => 'Keyword(s)',
+         'metadata.notes' => 'Notes',
+         'metadata.abstract' => 'Abstract',
+         'metadata.lowestgradelevel' => 'Lowest Grade Level',
+         'metadata.highestgradelevel' => 'Highest Grade Level');
     if (! defined($file_type) || $file_type ne 'portfolio') {
         %fields = 
         (%fields,