diff --git a/mod/book/edit.php b/mod/book/edit.php index 202665260e3..367bbe7966d 100644 --- a/mod/book/edit.php +++ b/mod/book/edit.php @@ -137,7 +137,7 @@ if ($chapters = book_preload_chapters($book)) { } echo $OUTPUT->header(); -echo $OUTPUT->heading($book->name); +echo $OUTPUT->heading(format_string($book->name)); $mform->display(); diff --git a/mod/book/tool/importhtml/index.php b/mod/book/tool/importhtml/index.php index df186dd9e1a..b0e0d24419a 100644 --- a/mod/book/tool/importhtml/index.php +++ b/mod/book/tool/importhtml/index.php @@ -67,7 +67,7 @@ if ($mform->is_cancelled()) { } else if ($data = $mform->get_data()) { echo $OUTPUT->header(); - echo $OUTPUT->heading($book->name); + echo $OUTPUT->heading(format_string($book->name)); echo $OUTPUT->heading(get_string('importingchapters', 'booktool_importhtml'), 3); // this is a bloody hack - children do not try this at home! @@ -85,7 +85,7 @@ if ($mform->is_cancelled()) { } echo $OUTPUT->header(); -echo $OUTPUT->heading($book->name); +echo $OUTPUT->heading(format_string($book->name)); $mform->display(); diff --git a/mod/choice/report.php b/mod/choice/report.php index 5c3a5f0a6bd..7810b338c9e 100644 --- a/mod/choice/report.php +++ b/mod/choice/report.php @@ -68,7 +68,7 @@ $PAGE->set_title(format_string($choice->name).": $strresponses"); $PAGE->set_heading($course->fullname); echo $OUTPUT->header(); - echo $OUTPUT->heading($choice->name, 2, null); + echo $OUTPUT->heading(format_string($choice->name), 2, null); /// Check to see if groups are being used in this choice $groupmode = groups_get_activity_groupmode($cm); if ($groupmode) { diff --git a/mod/survey/report.php b/mod/survey/report.php index 7c147cd29e1..a3ad94541c7 100644 --- a/mod/survey/report.php +++ b/mod/survey/report.php @@ -118,7 +118,7 @@ $PAGE->set_title("$course->shortname: ".format_string($survey->name)); $PAGE->set_heading($course->fullname); echo $OUTPUT->header(); - echo $OUTPUT->heading($survey->name); + echo $OUTPUT->heading(format_string($survey->name)); /// Check to see if groups are being used in this survey if ($groupmode = groups_get_activity_groupmode($cm)) { // Groups are being used diff --git a/mod/survey/save.php b/mod/survey/save.php index afa25b20ecd..5ea69c97b85 100644 --- a/mod/survey/save.php +++ b/mod/survey/save.php @@ -59,7 +59,7 @@ $PAGE->set_title($strsurveysaved); $PAGE->set_heading($course->fullname); echo $OUTPUT->header(); - echo $OUTPUT->heading($survey->name); + echo $OUTPUT->heading(format_string($survey->name)); if (survey_already_done($survey->id, $USER->id)) { notice(get_string("alreadysubmitted", "survey"), get_local_referer(false)); diff --git a/mod/survey/view.php b/mod/survey/view.php index 884feb6c8e1..97a528357c6 100644 --- a/mod/survey/view.php +++ b/mod/survey/view.php @@ -69,7 +69,7 @@ $strsurvey = get_string("modulename", "survey"); $PAGE->set_title($survey->name); $PAGE->set_heading($course->fullname); echo $OUTPUT->header(); -echo $OUTPUT->heading($survey->name); +echo $OUTPUT->heading(format_string($survey->name)); // Check to see if groups are being used in this survey. if ($groupmode = groups_get_activity_groupmode($cm)) { // Groups are being used.