MDL-24401: fixed string for adding content page

This commit is contained in:
Rossiani Wijaya
2012-05-09 14:37:11 +08:00
parent 8075bd8d8a
commit a6b4124840
+3 -1
View File
@@ -741,8 +741,10 @@ abstract class lesson_add_page_form_base extends moodleform {
if ($this->_customdata['edit'] === true) {
$mform->addElement('hidden', 'edit', 1);
$this->add_action_buttons(get_string('cancel'), get_string('savepage', 'lesson'));
} else {
} else if ($this->qtype === 'questiontype') {
$this->add_action_buttons(get_string('cancel'), get_string('addaquestionpage', 'lesson'));
} else {
$this->add_action_buttons(get_string('cancel'), get_string('savepage', 'lesson'));
}
}