MDL-87694 profile: change page title to "Login required".
This realigns the page title with public/user/view.php.
This commit is contained in:
@@ -50,7 +50,7 @@ if (!empty($CFG->forceloginforprofiles)) {
|
||||
require_login();
|
||||
if (isguestuser()) {
|
||||
$PAGE->set_context(context_system::instance());
|
||||
$PAGE->set_title(get_string('user'));
|
||||
$PAGE->set_title(get_string('loginrequired'));
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->confirm(
|
||||
get_string('guestcantaccessprofiles', 'error'),
|
||||
|
||||
Reference in New Issue
Block a user