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

www www@source.lon-capa.org
Mon, 23 Aug 2010 11:29:32 -0000


www		Mon Aug 23 11:29:32 2010 EDT

  Modified files:              
    /loncom/homework	optionresponse.pm 
  Log:
  Undoing 6329: Choices could also be "Red", "Green"
  or "Increase" - "Stay the Same"
  
  
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.167 loncom/homework/optionresponse.pm:1.168
--- loncom/homework/optionresponse.pm:1.167	Mon Aug 23 04:43:04 2010
+++ loncom/homework/optionresponse.pm	Mon Aug 23 11:29:32 2010
@@ -1,7 +1,7 @@
 # LearningOnline Network with CAPA
 # option list style responses
 #
-# $Id: optionresponse.pm,v 1.167 2010/08/23 04:43:04 raeburn Exp $
+# $Id: optionresponse.pm,v 1.168 2010/08/23 11:29:32 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -466,6 +466,8 @@
     my $internal_counter=$Apache::lonxml::counter;
     my $checkboxopt=&check_box_opt($target,$checkboxvalue,@opt);
     if ($checkboxopt) {
+       $result.='<br />'.&mt('Choices: ').'<b>'.$opt[0].','.$opt[1].'</b>. '.
+                 &mt('Select all that are <b>[_1]</b>.',$checkboxopt);
        $result.='<br />'.&mt('Select all that are <b>[_1]</b>.',$checkboxopt);
     }
     foreach $name (@whichopt) {