mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
"QUIZ/MDL-17710, wrap quiz summary by div, merged from 1.9"
This commit is contained in:
parent
9aea9ddf37
commit
8d487d41c6
@ -96,7 +96,8 @@
|
||||
print_heading(format_string($quiz->name));
|
||||
if (trim(strip_tags($quiz->intro))) {
|
||||
$formatoptions->noclean = true;
|
||||
print_box(format_text($quiz->intro, FORMAT_MOODLE, $formatoptions), 'generalbox', 'intro');
|
||||
$formatoptions->para = false;
|
||||
print_box('<div>'.format_text($quiz->intro, FORMAT_MOODLE, $formatoptions).'</div>', 'generalbox', 'intro');
|
||||
}
|
||||
|
||||
/// Display information about this quiz.
|
||||
|
Loading…
x
Reference in New Issue
Block a user