MDL-26356:Correcting the texts of Numerical Units grading select element

Signed-off-by: ppichet <[email protected]>
This commit is contained in:
ppichet
2011-02-10 23:50:30 -05:00
parent d911c72bf9
commit ff6b824e6d
+1 -1
View File
@@ -1044,7 +1044,7 @@ class question_numerical_qtype extends question_shortanswer_qtype {
$penaltygrp = array();
$penaltygrp[] =& $mform->createElement('text', 'unitpenalty', get_string('unitpenalty', 'qtype_numerical') ,
array('size' => 6));
$unitgradingtypes = array('1' => get_string('decfractionofquestiongrade', 'qtype_numerical'), '2' => get_string('decfractionofresponsegrade', 'qtype_numerical'));
$unitgradingtypes = array('1' => get_string('decfractionofresponsegrade', 'qtype_numerical'), '2' => get_string('decfractionofquestiongrade', 'qtype_numerical'));
$penaltygrp[] =& $mform->createElement('select', 'unitgradingtypes', '' , $unitgradingtypes );
$mform->addGroup($penaltygrp, 'penaltygrp', get_string('unitpenalty', 'qtype_numerical'),' ' , false);
$multichoicedisplaygrp = array();