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

matthew lon-capa-cvs@mail.lon-capa.org
Thu, 15 Jul 2004 19:42:25 -0000


matthew		Thu Jul 15 15:42:25 2004 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  &assessparms: Table rows from &print_row do not output a '<tr>', so we 
  have to explicitly do so.
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.167 loncom/interface/lonparmset.pm:1.168
--- loncom/interface/lonparmset.pm:1.167	Thu Jul 15 14:50:37 2004
+++ loncom/interface/lonparmset.pm	Thu Jul 15 15:42:24 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.167 2004/07/15 18:50:37 albertel Exp $
+# $Id: lonparmset.pm,v 1.168 2004/07/15 19:42:24 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1335,6 +1335,7 @@
                 $r->print('<th>'.&mt('Parameter in Effect').'</th></tr>');
 
 	        foreach (sort keys %name) {
+                    $r->print('<tr>');
                     &print_row($r,$_,\%part,\%name,$mapid,\%default,
                            \%type,\%display,$defbgone,$defbgtwo,
                            $parmlev);
@@ -1412,6 +1413,7 @@
             $r->print('<th>'.&mt('Parameter in Effect').'</th></tr>');
 
 	    foreach (sort keys %name) {
+                $r->print('<tr>');
                 &print_row($r,$_,\%part,\%name,$mapid,\%default,
                        \%type,\%display,$defbgone,$defbgtwo,$parmlev);
 #                    $r->print("<tr><td>resource.$part{$_}.$name{$_},$symbp{$mapid}</td></tr>\n");