mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
user MDL-19786 set pagelayout so that blocks are shown again
This commit is contained in:
parent
e15887b092
commit
ad1e8f13b6
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ if (!$currentuser) {
|
||||||
$PAGE->navigation->extend_for_user($user);
|
$PAGE->navigation->extend_for_user($user);
|
||||||
$PAGE->set_title("$course->fullname: $strpersonalprofile: $fullname");
|
$PAGE->set_title("$course->fullname: $strpersonalprofile: $fullname");
|
||||||
$PAGE->set_heading($course->fullname);
|
$PAGE->set_heading($course->fullname);
|
||||||
|
$PAGE->set_pagelayout('standard');
|
||||||
echo $OUTPUT->header();
|
echo $OUTPUT->header();
|
||||||
|
|
||||||
if (($course->id != SITEID) and ! has_capability('moodle/legacy:guest', $systemcontext, 0, false) ) { // Need to have access to a course to see that info
|
if (($course->id != SITEID) and ! has_capability('moodle/legacy:guest', $systemcontext, 0, false) ) { // Need to have access to a course to see that info
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue