Minor quiz layout improvements. Merged from MOODLE_19_STABLE.

This commit is contained in:
tjhunt 2007-12-17 16:56:42 +00:00
parent 8ad877b6ad
commit 7f2ec6b147
2 changed files with 4 additions and 1 deletions

View File

@ -414,7 +414,9 @@
unset($buttonoptions);
$buttonoptions['q'] = $quiz->id;
$buttonoptions['forcenew'] = true;
echo '<div class="controls">';
print_single_button($CFG->wwwroot.'/mod/quiz/attempt.php', $buttonoptions, get_string('startagain', 'quiz'));
echo '</div>';
/// Notices about restrictions that would affect students.
if ($quiz->popup) {
notify(get_string('popupnotice', 'quiz'));

View File

@ -3737,9 +3737,10 @@ body#question-preview .quemodname, body#question-preview .controls {
text-align: center;
}
#mod-quiz-attempt #page .controls,
#mod-quiz-review #page .controls {
text-align: center;
margin: 1.5em auto;
margin: 8px auto;
}
#mod-quiz-review .pagingbar {
margin: 1.5em auto;