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

foxr lon-capa-cvs@mail.lon-capa.org
Mon, 28 Mar 2005 23:19:45 -0000


foxr		Mon Mar 28 18:19:45 2005 EDT

  Modified files:              
    /loncom/homework	response.pm 
  Log:
  Decide to do print all foils by removing the requirement for a special
  printing env variable (Guy's suggestion), and instead, remove the requirment
  of a symb being absent in adv. roles. 
  
  
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.115 loncom/homework/response.pm:1.116
--- loncom/homework/response.pm:1.115	Mon Mar 28 06:57:48 2005
+++ loncom/homework/response.pm	Mon Mar 28 18:19:45 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # various response type definitons response definition
 #
-# $Id: response.pm,v 1.115 2005/03/28 11:57:48 foxr Exp $
+# $Id: response.pm,v 1.116 2005/03/28 23:19:45 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -513,8 +513,7 @@
     if (defined($ENV{'form.showallfoils'})) {
 	my ($symb)=&Apache::lonxml::whichuser();
 	if ($ENV{'request.state'} eq 'construct' || 
-	    ($ENV{'user.adv'} && $symb eq '')    ||
-            ($ENV{'print.showallfoils'})  ) {
+	    $ENV{'user.adv'} ) {
 	    return 1;
 	}
     }