[LON-CAPA-cvs] cvs: loncom /homework optionresponse.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Tue, 09 Sep 2003 13:36:11 -0000


sakharuk		Tue Sep  9 09:36:11 2003 EDT

  Modified files:              
    /loncom/homework	optionresponse.pm 
  Log:
  Bug (it's not really a bug - just a very small correction) 2132 (Changing text in option response choices when printing) is fixed.
  
  
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.84 loncom/homework/optionresponse.pm:1.85
--- loncom/homework/optionresponse.pm:1.84	Fri Aug  1 15:04:06 2003
+++ loncom/homework/optionresponse.pm	Tue Sep  9 09:36:11 2003
@@ -1,7 +1,7 @@
 # LearningOnline Network with CAPA
 # option list style responses
 #
-# $Id: optionresponse.pm,v 1.84 2003/08/01 19:04:06 sakharuk Exp $
+# $Id: optionresponse.pm,v 1.85 2003/09/09 13:36:11 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -438,7 +438,7 @@
 
     my $texoptionlist = shift;
     if ($texoptionlist=~/<option selected/ or $texoptionlist=~/<option>[^<]+<\/option>/) {
-	$texoptionlist =~ s/<option><\/option>/\\item \[\] Choose from: /;
+	$texoptionlist =~ s/<option><\/option>/\\item \[\] Choices: /;
 	$texoptionlist =~ s/<option>/\{\\bf /g;
 	$texoptionlist =~ s/<option selected="on">/\{\\bf /g;
 	$texoptionlist =~ s/<\/option>/\},/g;