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

www lon-capa-cvs@mail.lon-capa.org
Wed, 19 Jul 2006 20:54:20 -0000


www		Wed Jul 19 16:54:20 2006 EDT

  Modified files:              
    /loncom/homework	inputtags.pm 
  Log:
  Bug #4926: make it instead so that correct answer gets shown everywhere.
  
  
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.202 loncom/homework/inputtags.pm:1.203
--- loncom/homework/inputtags.pm:1.202	Wed Jul 19 15:54:30 2006
+++ loncom/homework/inputtags.pm	Wed Jul 19 16:54:19 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # input  definitons
 #
-# $Id: inputtags.pm,v 1.202 2006/07/19 19:54:30 www Exp $
+# $Id: inputtags.pm,v 1.203 2006/07/19 20:54:19 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -553,10 +553,7 @@
 	('yes' eq lc(&Apache::lonnet::EXT("resource.$part.handgrade")));
     
     my $computer = ($handgrade)? ''
-	                       : " ".
-			       (($Apache::lonhomework::type eq 'exam')?
-                                " ".&mt("Your answer now shown above."): 
-				" ".&mt("Computer's answer now shown above."));
+	                       : " ".&mt("Computer's answer now shown above.");
     &Apache::lonxml::debug("handgrade has :$handgrade:");
 
     if ($previous) { $previousmsg=&mt('You have entered that answer before'); }