MDL-86157 mod_glossary: correctly format entry page title.

This commit is contained in:
Paul Holden
2025-09-15 12:00:48 +01:00
parent a3b82724be
commit 6bbceaa405
+6 -1
View File
@@ -72,7 +72,12 @@ if (!empty($courseid)) {
$PAGE->navbar->add($strglossaries);
$PAGE->navbar->add($strsearch);
$PAGE->set_title(strip_tags("$course->shortname: $strglossaries $strsearch"));
$PAGE->set_title(implode(\moodle_page::TITLE_SEPARATOR, [
$strsearch,
$strglossaries,
$course->shortname,
]));
$PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
} else {