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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 06 May 2005 19:00:32 -0000


albertel		Fri May  6 15:00:32 2005 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  - forgot to switch the desciptions when I move the columns around
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.191 loncom/interface/lonparmset.pm:1.192
--- loncom/interface/lonparmset.pm:1.191	Thu May  5 16:50:38 2005
+++ loncom/interface/lonparmset.pm	Fri May  6 15:00:31 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.191 2005/05/05 20:50:38 albertel Exp $
+# $Id: lonparmset.pm,v 1.192 2005/05/06 19:00:31 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -713,7 +713,7 @@
                     my $name=&Apache::lonnet::metadata($srcf,$key.'.name');
                     my $part= &Apache::lonnet::metadata($srcf,$key.'.part');
                     my $parmdis = $display;
-                    $parmdis =~ s|(\[Part.*$)||g;
+                    $parmdis =~ s|(\[Part.*)$||g;
                     my $partkey = $part;
                     $partkey =~ tr|_|.|;
                     $$allparms{$name} = $parmdis;
@@ -1191,8 +1191,8 @@
            $r->print(<<ENDTABLEHEADFOUR);
 </tr><tr><th>$lt{'aut'}</th><th>$lt{'type'}</th>
 <th>$lt{'emof'}</th><th>$lt{'part'}</th><th>$lt{'pn'}</th>
-<th>$lt{'gen'}</th><th>$lt{'femof'}</th>
-<th>$lt{'def'}</th><th>$lt{'foremf'}</th><th>$lt{'fr'}</th>
+<th>$lt{'gen'}</th><th>$lt{'foremf'}</th>
+<th>$lt{'def'}</th><th>$lt{'femof'}</th><th>$lt{'fr'}</th>
 ENDTABLEHEADFOUR
 
            if ($csec) {