mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 03:46:42 +02:00
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:
parent
ff553e5cf4
commit
1eb8ee32bb
43 changed files with 62 additions and 63 deletions
|
@ -39,7 +39,7 @@ $url = new \moodle_url("/h5p/libraries.php");
|
|||
$PAGE->set_context($context);
|
||||
$PAGE->set_url($url);
|
||||
$PAGE->set_pagelayout('admin');
|
||||
$PAGE->set_title("$SITE->shortname: " . $pagetitle);
|
||||
$PAGE->set_title($pagetitle);
|
||||
$PAGE->set_heading($SITE->fullname);
|
||||
|
||||
$h5pfactory = new \core_h5p\factory();
|
||||
|
|
|
@ -35,7 +35,7 @@ $url = new \moodle_url("/h5p/overview.php");
|
|||
$PAGE->set_context($context);
|
||||
$PAGE->set_url($url);
|
||||
$PAGE->set_pagelayout('admin');
|
||||
$PAGE->set_title("$SITE->shortname: " . $pagetitle);
|
||||
$PAGE->set_title($pagetitle);
|
||||
$PAGE->set_heading($SITE->fullname);
|
||||
|
||||
echo $OUTPUT->header();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue