mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +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
|
@ -26,7 +26,7 @@ $sesskey = sesskey();
|
|||
// when we've already left the page that set the timer.
|
||||
$loginsite = get_string("loginsite");
|
||||
$PAGE->navbar->add($loginsite);
|
||||
$PAGE->set_title("$site->fullname: $loginsite");
|
||||
$PAGE->set_title($loginsite);
|
||||
$PAGE->set_heading($site->fullname);
|
||||
echo $OUTPUT->header();
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ if (!$authplugin->ntlmsso_finish()) {
|
|||
// here (and not add 3 more secs).
|
||||
$loginsite = get_string("loginsite");
|
||||
$PAGE->navbar->add($loginsite);
|
||||
$PAGE->set_title("$site->fullname: $loginsite");
|
||||
$PAGE->set_title($loginsite);
|
||||
$PAGE->set_heading($site->fullname);
|
||||
echo $OUTPUT->header();
|
||||
redirect($CFG->wwwroot . '/login/index.php?authldap_skipntlmsso=1',
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
$PAGE->set_url('/auth/shibboleth/login.php');
|
||||
$PAGE->set_context(context_system::instance());
|
||||
$PAGE->navbar->add($loginsite);
|
||||
$PAGE->set_title("$site->fullname: $loginsite");
|
||||
$PAGE->set_title($loginsite);
|
||||
$PAGE->set_heading($site->fullname);
|
||||
$PAGE->set_pagelayout('login');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue