diff options
-rw-r--r-- | edit_algebra_form.php | 3 | ||||
-rw-r--r-- | lang/en/qtype_algebra.php | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/edit_algebra_form.php b/edit_algebra_form.php index 2afcd0a..469da75 100644 --- a/edit_algebra_form.php +++ b/edit_algebra_form.php @@ -45,6 +45,9 @@ class qtype_algebra_edit_form extends question_edit_form { */ protected function definition_inner($mform) { global $CFG; + // Algebra questions options. + $mform->addElement('header', 'algebraoptions', + get_string('algebraoptions', 'qtype_algebra')); // Add the select control which will select the comparison type to use. $mform->addElement('select', 'compareby', get_string('compareby', 'qtype_algebra'), array( "sage" => get_string('comparesage', 'qtype_algebra'), diff --git a/lang/en/qtype_algebra.php b/lang/en/qtype_algebra.php index 8612e7d..5b62228 100644 --- a/lang/en/qtype_algebra.php +++ b/lang/en/qtype_algebra.php @@ -43,6 +43,7 @@ $string['undefinedfunction'] = 'Undefined function \'{$a}\''; $string['undefinedvariable'] = 'Undefined variable \'{$a}\' found when numerically evaluating an expression'; $string['unknownterm'] = 'Syntax Error: Unknown term found at \'{$a}\' in the expression'; +$string['algebraoptions'] = 'Options'; $string['answermustbegiven'] = 'You must enter an answer if there is a grade or feedback.'; $string['answerno'] = 'Answer {$a}'; $string['addmoreanswerblanks'] = 'Blanks for {no} More Answers'; @@ -105,6 +106,7 @@ $string['notanumber'] = 'Invalid value: a number is required'; $string['notenoughvars'] = 'At least one variable is required for all algebra questions'; $string['novarmax'] = 'No maximum bound specified for variable'; $string['novarmin'] = 'No minimum bound specified for variable'; +$string['options'] = 'Options'; $string['parseerror'] = 'Error parsing function: \'{$a}\''; $string['restoreqdbfailed'] = 'Restoring algebra question failed: database write error'; $string['restorevardbfailed'] = 'Restoring algebra question variable failed: database write error'; |