From fcf99b5bc918837d990e638b613da7357ad36532 Mon Sep 17 00:00:00 2001 From: Jean-Michel Vedrine Date: Sat, 27 Apr 2013 22:54:57 +0200 Subject: Changes before release --- edit_algebra_form.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'edit_algebra_form.php') 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); -- cgit v1.2.3