MDL-20636 Massively reduce the number of references to quiz in the question code.
This mostly involves moving lang strings around, but I don't have time to do an AMOS script now.
This commit is contained in:
@@ -43,9 +43,9 @@ class question_move_form extends moodleform {
|
||||
$currentcat = $this->_customdata['currentcat'];
|
||||
$contexts = $this->_customdata['contexts'];
|
||||
|
||||
$mform->addElement('questioncategory', 'category', get_string('category','quiz'), compact('contexts', 'currentcat'));
|
||||
$mform->addElement('questioncategory', 'category', get_string('category', 'question'), compact('contexts', 'currentcat'));
|
||||
|
||||
$this->add_action_buttons(true, get_string('categorymoveto', 'quiz'));
|
||||
$this->add_action_buttons(true, get_string('categorymoveto', 'question'));
|
||||
|
||||
$mform->addElement('hidden', 'delete', $currentcat);
|
||||
$mform->setType('delete', PARAM_INT);
|
||||
|
||||
Reference in New Issue
Block a user