Skip to content

Commit

Permalink
MDL-31721 question editing: improve working for Show num correct
Browse files Browse the repository at this point in the history
AMOS BEGIN
 CPY [shownumpartscorrect,question],[shownumpartscorrectwhenfinished,question]
AMOS END
  • Loading branch information
timhunt committed Feb 23, 2012
1 parent c4a12af commit d5ffb78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lang/en/question.php
Expand Up @@ -386,6 +386,7 @@
$string['showquestiontext'] = 'Show question text in the question list';
$string['shown'] = 'Shown';
$string['shownumpartscorrect'] = 'Show the number of correct responses';
$string['shownumpartscorrectwhenfinished'] = 'Show the number of correct responses once the question has finished';
$string['specificfeedback'] = 'Specific feedback';
$string['started'] = 'Started';
$string['state'] = 'State';
Expand Down
2 changes: 1 addition & 1 deletion question/type/edit_question_form.php
Expand Up @@ -348,7 +348,7 @@ protected function add_combined_feedback_fields($withshownumpartscorrect = false
if ($withshownumpartscorrect && $feedbackname == 'partiallycorrectfeedback') {
$mform->addElement('advcheckbox', 'shownumcorrect',
get_string('options', 'question'),
get_string('shownumpartscorrect', 'question'));
get_string('shownumpartscorrectwhenfinished', 'question'));
}
}
}
Expand Down

0 comments on commit d5ffb78

Please sign in to comment.