[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Thu, 27 May 2004 17:31:48 -0000
sakharuk Thu May 27 13:31:48 2004 EDT
Modified files:
/loncom/interface lonparmset.pm
Log:
Second part of bug 2812 is fixed. Additional parameter is implemented - default paper type.
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.160 loncom/interface/lonparmset.pm:1.161
--- loncom/interface/lonparmset.pm:1.160 Thu May 13 20:55:27 2004
+++ loncom/interface/lonparmset.pm Thu May 27 13:31:47 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.160 2004/05/14 00:55:27 www Exp $
+# $Id: lonparmset.pm,v 1.161 2004/05/27 17:31:47 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -91,7 +91,7 @@
Figure out a cascading parameter.
Inputs: $what - a parameter spec (incluse part info and name I.E. 0.weight)
- $id - a bighash Id number
+ $id - a bighash Id /home/httpd/lib/perl/Apache/localize/ru.pmnumber
$def - the resource's default value 'stupid emacs
Returns: A list, the first item is the index into the remaining list of items of parm valuse that is the active one, the list consists of parm values at the 11 possible levels
@@ -1601,6 +1601,11 @@
'problem_stream_switch'
=> '<b>'.&mt('Allow problems to be split over pages').'</b><br />'.
' ('.&mt('"[_1]" if allowed, anything else if not','<tt>yes</tt>').')',
+ 'default_paper_size'
+ => '<b>'.&mt('Default paper type').'</b><br />'.
+ ' ('.&mt('supported types').': Letter [8 1/2x11 in], Legal [8 1/2x14 in],'.
+ ' Tabloid [11x17 in], Executive [7 1/2x10 in], A2 [420x594 mm],'.
+ ' A3 [297x420 mm], A4 [210x297 mm], A5 [148x210 mm], A6 [105x148 mm])',
'anonymous_quiz'
=> '<b>'.&mt('Anonymous quiz/exam').'</b><br />'.
' (<tt><b>'.&mt('yes').'</b> '.&mt('to avoid print students names').' </tt>)',
@@ -1626,6 +1631,7 @@
'rndseed',
'receiptalg',
'problem_stream_switch',
+ 'default_paper_size',
'disable_receipt_display',
'spreadsheet_default_classcalc',
'spreadsheet_default_studentcalc',