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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 07 Dec 2006 23:10:44 -0000


albertel		Thu Dec  7 18:10:44 2006 EDT

  Modified files:              
    /loncom/homework	radiobuttonresponse.pm 
  Log:
  - xhtml
  
  
Index: loncom/homework/radiobuttonresponse.pm
diff -u loncom/homework/radiobuttonresponse.pm:1.107 loncom/homework/radiobuttonresponse.pm:1.108
--- loncom/homework/radiobuttonresponse.pm:1.107	Mon Nov 27 06:42:40 2006
+++ loncom/homework/radiobuttonresponse.pm	Thu Dec  7 18:10:42 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # mutliple choice style responses
 #
-# $Id: radiobuttonresponse.pm,v 1.107 2006/11/27 11:42:40 foxr Exp $
+# $Id: radiobuttonresponse.pm,v 1.108 2006/12/07 23:10:42 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -276,7 +276,7 @@
                 $result .= '<label>';
 		$result.="<input type=\"radio\" name=\"HWVAL_$Apache::inputtags::response['-1']\" value=\"$temp\" ";
 		if (defined($lastresponse{$name})) { $result .= 'checked="on"'; }
-		$result .= '>'.$Apache::response::foilgroup{$name.'.text'}.
+		$result .= ' />'.$Apache::response::foilgroup{$name.'.text'}.
                     '</label>';
 		$temp++;
 		if ($direction eq 'horizontal') { $result.="</td>"; }
@@ -489,7 +489,7 @@
                 $result.= '<label>';
 		$result.="<input type=\"radio\" name=\"HWVAL_$Apache::inputtags::response['-1']\" value=\"$temp\" ";
 		if (defined($lastresponse{$name})) { $result .= 'checked="on"'; }
-		$result .= '>'.$Apache::response::foilgroup{$name.'.text'}."</label>";
+		$result .= ' />'.$Apache::response::foilgroup{$name.'.text'}."</label>";
 	    } else {
 		if ($Apache::lonhomework::type eq 'exam') {