[LON-CAPA-cvs] cvs: loncom(version_2_7_X) /interface lonprintout.pm

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Sun, 21 Sep 2008 21:25:23 -0000


raeburn		Sun Sep 21 17:25:23 2008 EDT

  Modified files:              (Branch: version_2_7_X)
    /loncom/interface	lonprintout.pm 
  Log:
  Backport 1.540 and 1.541.
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.536 loncom/interface/lonprintout.pm:1.536.2.1
--- loncom/interface/lonprintout.pm:1.536	Mon Jul 14 06:40:57 2008
+++ loncom/interface/lonprintout.pm	Sun Sep 21 17:25:21 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.536 2008/07/14 10:40:57 foxr Exp $
+# $Id: lonprintout.pm,v 1.536.2.1 2008/09/21 21:25:21 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2641,9 +2641,9 @@
     }
 
     # Useful filter strings
-    my $isProblem = '($res->is_problem()||$res->contains_problem) ';
+    my $isProblem = '($res->is_problem()||$res->contains_problem||$res->is_practice()) ';
     $isProblem .= ' && !$res->randomout()' if !$userCanSeeHidden;
-    my $isProblemOrMap = '$res->is_problem() || $res->contains_problem() || $res->is_sequence()';
+    my $isProblemOrMap = '$res->is_problem() || $res->contains_problem() || $res->is_sequence() || $res->is_practice()';
     my $isNotMap = '!$res->is_sequence()';
     $isNotMap .= ' && !$res->randomout()' if !$userCanSeeHidden;
     my $isMap = '$res->is_map()';