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

sakharuk lon-capa-cvs@mail.lon-capa.org
Wed, 24 Sep 2003 18:18:38 -0000


sakharuk		Wed Sep 24 14:18:38 2003 EDT

  Modified files:              
    /loncom/homework	optionresponse.pm 
  Log:
  Some additional cleanup is done - removed some stupid chuncks of code for 'tex' target output.
  
  
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.86 loncom/homework/optionresponse.pm:1.87
--- loncom/homework/optionresponse.pm:1.86	Mon Sep 22 16:49:01 2003
+++ loncom/homework/optionresponse.pm	Wed Sep 24 14:18:38 2003
@@ -1,7 +1,7 @@
 # LearningOnline Network with CAPA
 # option list style responses
 #
-# $Id: optionresponse.pm,v 1.86 2003/09/22 20:49:01 albertel Exp $
+# $Id: optionresponse.pm,v 1.87 2003/09/24 18:18:38 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -622,11 +622,7 @@
 	if ($target eq 'tex' and $Apache::lonhomework::type eq 'exam') {
 	    $Apache::response::conceptgroup{"$name.text"} = '\vskip 4 mm $\triangleright$ '.$text;
 	} else {
-	    if ($target eq 'tex' and $Apache::lonhomework::type eq 'exam') {
-		$Apache::response::conceptgroup{"$name.text"} = ' $\triangleright$ '.$text;
-	    } else {
-		$Apache::response::conceptgroup{"$name.text"} = $text;
-	    }
+	    $Apache::response::conceptgroup{"$name.text"} = $text;
 	}
 	$Apache::response::conceptgroup{"$name.location"} = $location;
       } else {
@@ -635,11 +631,7 @@
 	if ($target eq 'tex' and $Apache::lonhomework::type eq 'exam') {
 	    $Apache::response::foilgroup{"$name.text"} = '\vskip 5 mm $\triangleright$ '.$text;
 	} else {
-	    if ($target eq 'tex' and $Apache::lonhomework::type eq 'exam') {
-		$Apache::response::foilgroup{"$name.text"} = ' $\triangleright$ '.$text;
-	    } else {
-		$Apache::response::foilgroup{"$name.text"} = $text;
-	    }
+	    $Apache::response::foilgroup{"$name.text"} = $text;
 	}
 	$Apache::response::foilgroup{"$name.location"} = $location;
       }