MDL-39437 lesson mod: rename add a question page section name to avoid conflict in behat

This commit is contained in:
Rossiani Wijaya 2013-05-02 16:18:44 +08:00
parent 95190fda69
commit 7f8ce0257b
2 changed files with 2 additions and 1 deletions

View File

@ -113,6 +113,7 @@ $string['continuetonextpage'] = 'Continue to next page.';
$string['correctanswerjump'] = 'Correct answer jump';
$string['correctanswerscore'] = 'Correct answer score';
$string['correctresponse'] = 'Correct response';
$string['createaquestionpage'] = 'Create a question page';
$string['credit'] = 'Credit';
$string['customscoring'] = 'Custom scoring';
$string['customscoring_help'] = 'If enabled, then each answer may be given a numerical point value (positive or negative).';

View File

@ -696,7 +696,7 @@ abstract class lesson_add_page_form_base extends moodleform {
$mform = $this->_form;
$editoroptions = $this->_customdata['editoroptions'];
$mform->addElement('header', 'qtypeheading', get_string('addaquestionpage', 'lesson', get_string($this->qtypestring, 'lesson')));
$mform->addElement('header', 'qtypeheading', get_string('createaquestionpage', 'lesson', get_string($this->qtypestring, 'lesson')));
$mform->addElement('hidden', 'id');
$mform->setType('id', PARAM_INT);