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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 29 Dec 2005 17:59:32 -0000


albertel		Thu Dec 29 12:59:32 2005 EDT

  Modified files:              (Branch: version_2_1_X)
    /loncom/interface	lonparmset.pm 
  Log:
  - backprot 1.273 1.274
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.268.2.2 loncom/interface/lonparmset.pm:1.268.2.3
--- loncom/interface/lonparmset.pm:1.268.2.2	Wed Dec 28 13:56:22 2005
+++ loncom/interface/lonparmset.pm	Thu Dec 29 12:59:31 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.268.2.2 2005/12/28 18:56:22 albertel Exp $
+# $Id: lonparmset.pm,v 1.268.2.3 2005/12/29 17:59:31 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1458,14 +1458,15 @@
                     my $totalparms=scalar keys %name;
                     if ($totalparms>0) {
                         my $firstrow=1;
-			my $title=&Apache::lonnet::gettitle($uri);
+			my $title=&Apache::lonnet::gettitle($symbp{$rid});
                         $r->print('<tr><td bgcolor='.$defbgone.
                              ' rowspan='.$totalparms.
                              '><tt><font size=-1>'.
                              join(' / ',split(/\//,$uri)).
                              '</font></tt><p><b>'.
                              "<a href=\"javascript:openWindow('".
-				  &Apache::lonnet::clutter($uri).
+				  &Apache::lonnet::clutter($uri).'?symb='.
+				  &Apache::lonnet::escape($symbp{$rid}).
                              "', 'metadatafile', '450', '500', 'no', 'yes')\";".
                              " TARGET=_self>$title");
 
@@ -1894,7 +1895,7 @@
                     &mt('This controls how receipt numbers are generated.'),
              'suppress_tries'
                  => '<b>'.&mt('Suppress number of tries in printing').'</b><br />'.
-                    ' ('.&mt('"[_1]" to suppress, anything else to not supress','<tt>yes</tt>').')',
+                    ' ('.&mt('"[_1]" to suppress, anything else to not suppress','<tt>yes</tt>').')',
              'problem_stream_switch'
                  => '<b>'.&mt('Allow problems to be split over pages').'</b><br />'.
                     ' ('.&mt('"[_1]" if allowed, anything else if not','<tt>yes</tt>').')',