MDL-78806 core: Remove redundant site name

MDL-78806 core: Remove redundant site name on page titles

* With the site name now being appended to the page titles, there
is no need to manually append the page titles.
This commit is contained in:
Jun Pataleta 2023-08-03 16:29:13 +08:00
parent ff553e5cf4
commit 1eb8ee32bb
No known key found for this signature in database
GPG key ID: F83510526D99E2C7
43 changed files with 62 additions and 63 deletions

View file

@ -59,7 +59,7 @@ if ($delete === md5($course->timemodified)) {
$strdeletingcourse = get_string("deletingcourse", "", $courseshortname);
$PAGE->navbar->add($strdeletingcourse);
$PAGE->set_title("$SITE->shortname: $strdeletingcourse");
$PAGE->set_title($strdeletingcourse);
$PAGE->set_heading($SITE->fullname);
echo $OUTPUT->header();
@ -86,7 +86,7 @@ if ($delete === md5($course->timemodified)) {
$strdeletecheck = get_string("deletecheck", "", $courseshortname);
$PAGE->navbar->add($strdeletecheck);
$PAGE->set_title("$SITE->shortname: $strdeletecheck");
$PAGE->set_title($strdeletecheck);
$PAGE->set_heading($SITE->fullname);
echo $OUTPUT->header();