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

bowersj2 lon-capa-cvs@mail.lon-capa.org
Mon, 05 May 2003 15:09:02 -0000


bowersj2		Mon May  5 11:09:02 2003 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  Add resource selection to "print for students".
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.146 loncom/interface/lonprintout.pm:1.147
--- loncom/interface/lonprintout.pm:1.146	Mon May  5 10:30:23 2003
+++ loncom/interface/lonprintout.pm	Mon May  5 11:09:02 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.146 2003/05/05 14:30:23 bowersj2 Exp $
+# $Id: lonprintout.pm,v 1.147 2003/05/05 15:09:02 bowersj2 Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1886,6 +1886,10 @@
   <state name="CHOOSE_STUDENTS" title="Choose Students">
     <message>Select the students you wish to print the problems for:</message>
     <student multichoice='1' variable="STUDENTS" nextstate="PAGESIZE" />
+    <resource variable="RESOURCES" multichoice="1">
+      <filterfunc>return $isProblem</filterfunc>
+      <valuefunc>return $symb</valuefunc>
+      </resource>
     </state>
 CHOOSE_STUDENTS
     }