[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 23 Dec 2005 08:32:47 -0000
albertel Fri Dec 23 03:32:47 2005 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
- attempting to make tha anonymous print options screen a bit easier to understand
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.411 loncom/interface/lonprintout.pm:1.412
--- loncom/interface/lonprintout.pm:1.411 Fri Dec 23 03:02:24 2005
+++ loncom/interface/lonprintout.pm Fri Dec 23 03:32:46 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.411 2005/12/23 08:02:24 albertel Exp $
+# $Id: lonprintout.pm,v 1.412 2005/12/23 08:32:46 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2209,8 +2209,7 @@
&Apache::lonxml::xmlparse($r, 'helper', <<CHOOSE_ANON1);
<state name="CHOOSE_ANON1" title="Select Students and Resources">
<nextstate>PAGESIZE</nextstate>
- <message><hr width='33%' /></message>
- <message><table><tr><td><b>Number of anonymous assignments to print?</b></td><td></message>
+ <message><table><tr><td><b>Number of anonymous 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) &&
@@ -2223,8 +2222,19 @@
</validator>
</string>
<message></td></tr><tr><td></message>
- <message><b>Value of CODE to print?</b></td><td></message>
- <string variable="SINGLE_CODE" size="10" defaultvalue="zzzz">
+ <message><b>Names to store the CODEs under for later:</b></message>
+ <message></td><td></message>
+ <string variable="ANON_CODE_STORAGE_NAME" maxlength="50" size="20" />
+ <message></td></tr><tr><td></message>
+ <message><b>Bubble sheet type:</b></message>
+ <message></td><td></message>
+ <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>
+ <string variable="SINGLE_CODE" size="10">
<validator>
if(!\$helper->{'VARS'}{'NUMBER_TO_PRINT_TOTAL'} &&
!\$helper->{'VARS'}{'REUSE_OLD_CODES'} &&
@@ -2236,22 +2246,13 @@
}
</validator>
</string>
- <message></td></tr><tr><td></message>
- <message><b>Names to store the CODEs under for later:</b></message>
- <message></td><td></message>
- <string variable="ANON_CODE_STORAGE_NAME" maxlength="50" size="20" />
- <message></td></tr><tr><td></message>
- <message><b>Bubble sheet type:</b></message>
- <message></td><td></message>
- <dropdown variable="CODE_OPTION" multichoice="0" allowempty="0">
- $codechoice
- </dropdown>
- <message></td></tr></table></message>
- <message><hr width='33%' /></message>
+ <message></td></tr><tr><td colspan="2"><hr width='33%' /></td></tr><tr><td></message>
<message><b>Reprint a set of 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>
$resource_selector
</state>
@@ -2299,7 +2300,7 @@
&Apache::lonxml::xmlparse($r, 'helper', <<CHOOSE_ANON2);
<state name="CHOOSE_ANON2" title="Select Students and Resources">
<nextstate>PAGESIZE</nextstate>
- <message><table><tr><td><b>Number of anonymous assignments to print?</b></td><td></message>
+ <message><table><tr><td><b>Number of anonymous 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) &&
@@ -2312,8 +2313,19 @@
</validator>
</string>
<message></td></tr><tr><td></message>
- <message><b>Value of CODE to print?</b></td><td></message>
- <string variable="SINGLE_CODE" size="10" defaultvalue="zzzz">
+ <message><b>Names to store the CODEs under for later:</b></message>
+ <message></td><td></message>
+ <string variable="ANON_CODE_STORAGE_NAME" maxlength="50" size="20" />
+ <message></td></tr><tr><td></message>
+ <message><b>Bubble sheet type:</b></message>
+ <message></td><td></message>
+ <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>
+ <string variable="SINGLE_CODE" size="10">
<validator>
if(!\$helper->{'VARS'}{'NUMBER_TO_PRINT_TOTAL'} &&
!\$helper->{'VARS'}{'REUSE_OLD_CODES'} &&
@@ -2325,22 +2337,13 @@
}
</validator>
</string>
- <message></td></tr><tr><td></message>
- <message><b>Names to store the CODEs under for later:</b></message>
- <message></td><td></message>
- <string variable="ANON_CODE_STORAGE_NAME" maxlength="50" size="20" />
- <message></td></tr><tr><td></message>
- <message><b>Bubble sheet type:</b></message>
- <message></td><td></message>
- <dropdown variable="CODE_OPTION" multichoice="0" allowempty="0">
- $codechoice
- </dropdown>
- <message></td></tr></table></message>
- <message><hr width='33%' /></message>
+ <message></td></tr><tr><td colspan="2"><hr width='33%' /></td></tr><tr><td></message>
<message><b>Reprint a set of 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>
$resource_selector
</state>