MDL-86157 mod_glossary: correctly format entry page title.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user