aboutsummaryrefslogtreecommitdiff
path: root/edit_algebra_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'edit_algebra_form.php')
-rw-r--r--edit_algebra_form.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/edit_algebra_form.php b/edit_algebra_form.php
index 469da75..2f861bb 100644
--- a/edit_algebra_form.php
+++ b/edit_algebra_form.php
@@ -120,8 +120,6 @@ class qtype_algebra_edit_form extends question_edit_form {
// Add the form elements to enter the variables.
$repeated[] =& $mform->createElement('header', 'variablehdr', get_string('variableno', 'qtype_algebra', '{no}'));
- // $repeatedoptions['variablehdr']['helpbutton'] = array('variable', get_string('variable', 'qtype_algebra'),
- // 'qtype_algebra');
$repeated[] =& $mform->createElement('text', 'variable', get_string('variablename', 'qtype_algebra'), array('size'=>20));
$mform->setType('variable', PARAM_RAW);
$repeated[] =& $mform->createElement('text', 'varmin', get_string('varmin', 'qtype_algebra'), array('size'=>20));
@@ -159,6 +157,10 @@ class qtype_algebra_edit_form extends question_edit_form {
}
+ protected function get_more_choices_string() {
+ return get_string('addmoreanswerblanks', 'qtype_algebra');
+ }
+
protected function data_preprocessing($question) {
$question = parent::data_preprocessing($question);
$question = $this->data_preprocessing_answers($question);