mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-54693 quiz: Info for attempts allowed in user and group override.
This commit is contained in:
parent
5bde2c2b62
commit
b4fcf278c2
@ -95,6 +95,7 @@ $string['attemptlast'] = 'Last attempt';
|
||||
$string['attemptnumber'] = 'Attempt';
|
||||
$string['attemptquiznow'] = 'Attempt quiz now';
|
||||
$string['attempts'] = 'Attempts';
|
||||
$string['attempts_help'] = 'The total number of attempts allowed (not the number of extra attempts).';
|
||||
$string['attemptsallowed'] = 'Attempts allowed';
|
||||
$string['attemptsdeleted'] = 'Quiz attempts deleted';
|
||||
$string['attemptselection'] = 'Select which attempts to analyze per user:';
|
||||
|
@ -200,6 +200,7 @@ class quiz_override_form extends moodleform {
|
||||
}
|
||||
$mform->addElement('select', 'attempts',
|
||||
get_string('attemptsallowed', 'quiz'), $attemptoptions);
|
||||
$mform->addHelpButton('attempts', 'attempts', 'quiz');
|
||||
$mform->setDefault('attempts', $this->quiz->attempts);
|
||||
|
||||
// Submit buttons.
|
||||
|
Loading…
x
Reference in New Issue
Block a user