[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 06 Oct 2005 22:05:59 -0000
albertel Thu Oct 6 18:05:59 2005 EDT
Modified files:
/loncom/interface lonparmset.pm
Log:
- wasn't actually getting the table to show up
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.257 loncom/interface/lonparmset.pm:1.258
--- loncom/interface/lonparmset.pm:1.257 Mon Oct 3 16:21:24 2005
+++ loncom/interface/lonparmset.pm Thu Oct 6 18:05:56 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.257 2005/10/03 20:21:24 albertel Exp $
+# $Id: lonparmset.pm,v 1.258 2005/10/06 22:05:56 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2829,13 +2829,10 @@
}
&Apache::lonnet::coursedescription($env{'request.course.id'});
- my %metadata_fields = &Apache::lonmeta::fieldnames();
-
- foreach my $field (sort(keys (%metadata_fields))) {
-
- if ($field =~ m/metadata/) {
- $output.= &output_row($r, $field, $metadata_fields{$field});
- }
+ my %metadata_fields = &Apache::lonmeta::fieldnames('portfolio');
+
+ foreach my $field (sort(keys(%metadata_fields))) {
+ $output.= &output_row($r, $field, $metadata_fields{$field});
}
$r->print(<<ENDenv);
<form method="post" action="/adm/parmset?action=setinstmeta" name="form">