Merged from STABLE, satsifying bug 3696

This commit is contained in:
gustav_delius
2005-07-07 14:41:15 +00:00
parent 3f13a635ab
commit 2b46608c3a
+6 -4
View File
@@ -92,7 +92,11 @@
$currenttab = 'preview';
include('tabs.php');
} else {
print_heading(format_string($quiz->name));
if ($quiz->attempts != 1) {
print_heading(format_string($quiz->name).' - '.$strattemptnum);
} else {
print_heading(format_string($quiz->name));
}
}
/// Check availability
@@ -375,7 +379,7 @@
/// Print the quiz page ////////////////////////////////////////////////////////
/// Print the attempt number or preview heading
/// Print the preview heading
if ($isteacher) {
print_heading(get_string('previewquiz', 'quiz', format_string($quiz->name)));
unset($buttonoptions);
@@ -387,8 +391,6 @@
if ($quiz->popup) {
notify(get_string('popupnotice', 'quiz'));
}
} else {
print_heading($strattemptnum);
}
/// Start the form