--- loncom/interface/lonparmset.pm 2004/05/14 00:55:27 1.160 +++ loncom/interface/lonparmset.pm 2004/05/27 17:31:47 1.161 @@ -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 @@ my $coursename; 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 @@ sub crsenv { 'problem_stream_switch' => ''.&mt('Allow problems to be split over pages').'
'. ' ('.&mt('"[_1]" if allowed, anything else if not','yes').')', + 'default_paper_size' + => ''.&mt('Default paper type').'
'. + ' ('.&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' => ''.&mt('Anonymous quiz/exam').'
'. ' ('.&mt('yes').' '.&mt('to avoid print students names').' )', @@ -1626,6 +1631,7 @@ sub crsenv { 'rndseed', 'receiptalg', 'problem_stream_switch', + 'default_paper_size', 'disable_receipt_display', 'spreadsheet_default_classcalc', 'spreadsheet_default_studentcalc',