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

sakharuk lon-capa-cvs@mail.lon-capa.org
Wed, 02 Apr 2003 19:51:24 -0000


sakharuk		Wed Apr  2 14:51:24 2003 EDT

  Modified files:              
    /loncom/homework	inputtags.pm 
  Log:
  Some changes were done to hide any commments about submitted student's answer in the on-line exam mode.
  
  
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.85 loncom/homework/inputtags.pm:1.86
--- loncom/homework/inputtags.pm:1.85	Mon Mar 17 16:33:33 2003
+++ loncom/homework/inputtags.pm	Wed Apr  2 14:51:24 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # input  definitons
 #
-# $Id: inputtags.pm,v 1.85 2003/03/17 21:33:33 albertel Exp $
+# $Id: inputtags.pm,v 1.86 2003/04/02 19:51:24 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -336,6 +336,7 @@
     $message = "Unknown message: $award";
     $button=1;
   }
+  if ($Apache::lonhomework::type eq 'exam') {$message='';$previousmsg='';}
   return ($button,$message,$previousmsg);
 }