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

banghart lon-capa-cvs@mail.lon-capa.org
Thu, 10 Feb 2005 22:01:40 -0000


banghart		Thu Feb 10 17:01:40 2005 EDT

  Modified files:              
    /loncom/interface	lonmeta.pm 
  Log:
  	Adding some more meta fields for portfolio files
  
  
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.90 loncom/interface/lonmeta.pm:1.91
--- loncom/interface/lonmeta.pm:1.90	Tue Feb  1 12:37:23 2005
+++ loncom/interface/lonmeta.pm	Thu Feb 10 17:01:40 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Metadata display handler
 #
-# $Id: lonmeta.pm,v 1.90 2005/02/01 17:37:23 banghart Exp $
+# $Id: lonmeta.pm,v 1.91 2005/02/10 22:01:40 banghart Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -245,7 +245,11 @@
          'authorspace' => 'Author Space',
          'modifyinguser' => 'Last Modifying User',
          'subject' => 'Subject',
-         'keywords' => 'Keyword(s)');
+         'keywords' => 'Keyword(s)',
+         'notes' => 'Notes',
+         'abstract' => 'Abstract',
+         'lowestgradelevel' => 'Lowest Grade Level',
+         'highestgradelevel' => 'Highest Grade Level');
     } else {
     return &Apache::lonlocal::texthash
         (
@@ -936,7 +940,8 @@
 	my $output;
 	my @fields;
 	if ($file_type eq 'portfolio') {
-	    @fields =  ('author','title','subject','keywords');
+	    @fields =  ('author','title','subject','keywords','abstract','notes','lowestgradelevel',
+	                'highestgradelevel');
 	} else {
 	    @fields = ('author','title','subject','keywords','abstract','notes',
                  'copyright','customdistributionfile','language',