aboutsummaryrefslogtreecommitdiff
path: root/edit_algebra_form.php
diff options
context:
space:
mode:
authorJean-Michel Vedrine <vedrine@vedrine.org>2013-04-27 22:54:57 +0200
committerJean-Michel Vedrine <vedrine@vedrine.org>2013-04-27 22:54:57 +0200
commitfcf99b5bc918837d990e638b613da7357ad36532 (patch)
treec404c7cf45877cca8b0eef7a588dcf15afa8c1fa /edit_algebra_form.php
parent14da1f7131ac7ddd33c97b6e131beb2d13fb208e (diff)
Changes before release
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);