Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
012398a8
Commit
012398a8
authored
Nov 28, 2017
by
jun
Browse files
Merge branch 'MDL-54693-quiz-override-help-icon' of
https://github.com/lucaboesch/moodle
parents
02146e0b
b4fcf278
Changes
2
Hide whitespace changes
Inline
Side-by-side
mod/quiz/lang/en/quiz.php
View file @
012398a8
...
...
@@ -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:'
;
...
...
mod/quiz/override_form.php
View file @
012398a8
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment