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

foxr lon-capa-cvs@mail.lon-capa.org
Mon, 31 Jul 2006 10:30:53 -0000


foxr		Mon Jul 31 06:30:53 2006 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  Get the code printing to look like what felicia wants (Defect 269)
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.467 loncom/interface/lonprintout.pm:1.468
--- loncom/interface/lonprintout.pm:1.467	Mon Jul 24 18:13:58 2006
+++ loncom/interface/lonprintout.pm	Mon Jul 31 06:30:52 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.467 2006/07/24 22:13:58 foxr Exp $
+# $Id: lonprintout.pm,v 1.468 2006/07/31 10:30:52 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2412,7 +2412,7 @@
                      push(@{$state->{CHOICES}},@{$helper->{DATA}{ALL_CODE_CHOICES}});
                   </exec>
 		</dropdown>
-	    <message></td></tr><tr><td colspan="2"><hr width=\'33%\' /></td></tr><tr><td></message>
+	    <message></td></tr><tr><td></message>
             '.$/;
 
 	}
@@ -2432,9 +2432,12 @@
 	    $codechoice='<choice computer="default">Default</choice>';
 	}
         &Apache::lonxml::xmlparse($r, 'helper', <<CHOOSE_ANON1);
-  <state name="CHOOSE_ANON1" title="Select Students and Resources">
+  <state name="CHOOSE_ANON1" title="Specify CODEd Assignments">
     <nextstate>SELECT_PROBLEMS</nextstate>
-    <message><table><tr><td><b>Number of anonymous assignments to print:</b></td><td></message>
+    <message><h4>Fill out one of the forms below</h4></message>
+    <message><br /><hr /> <br /></message>
+    <message><h3>Generate new CODEd Assignments</h3></message>
+    <message><table><tr><td><b>Number of CODEd assignments to print:</b></td><td></message>
     <string variable="NUMBER_TO_PRINT_TOTAL" maxlength="5" size="5">
        <validator>
 	if (((\$helper->{'VARS'}{'NUMBER_TO_PRINT_TOTAL'}+0) < 1) &&
@@ -2456,9 +2459,10 @@
     <dropdown variable="CODE_OPTION" multichoice="0" allowempty="0">
     $codechoice
     </dropdown>
-    <message></td></tr><tr><td colspan="2"><hr width='33%' /></td></tr><tr><td></message>
-    <message></td></tr><tr><td></message>
-    <message><b>Enter a CODE to print:</b></td><td></message>
+    <message></td></tr><tr><td colspan="2"></td></tr><tr><td></message>
+    <message></td></tr><tr><td></table></message>
+    <message><br /><hr /><h3>Print a Specific Code </h3><br /><table></message>
+    <message><tr><td><b>Enter a CODE to print:</b></td><td></message>
     <string variable="SINGLE_CODE" size="10">
         <validator>
 	   if(!\$helper->{'VARS'}{'NUMBER_TO_PRINT_TOTAL'}           &&
@@ -2471,17 +2475,16 @@
 	   }
         </validator>
     </string>
-    <message></td></tr><tr><td colspan="2"><hr width='33%' /></td></tr><tr><td></message>
+    <message></td</tr><tr><td></message>
         $code_selection
-
-    
-    <message><b>Reprint a set of saved CODEs:</b></message>
+    <message></td></tr></table></message>
+    <message><hr /><h3>Reprint a Set of Saved Codes</h3><table><tr><td></message>
+    <message><b>Select saved CODEs:</b></message>
     <message></td><td></message>
     <dropdown variable="REUSE_OLD_CODES">
         $namechoice
     </dropdown>
     <message></td></tr></table></message>
-    <message><hr width='33%' /></message>
   </state>
   $resource_selector
 CHOOSE_ANON1