This commit is contained in:
Dan Poltawski 2013-12-04 14:57:24 +08:00
commit 50de5b4c06

View File

@ -40,7 +40,7 @@ require_login();
$header = "$SITE->shortname: ".get_string('publicprofile')." (".get_string('myprofile', 'admin').")";
$PAGE->set_blocks_editing_capability('moodle/my:configsyspages');
admin_externalpage_setup('mypage', '', null, '', array('pagelayout' => 'mydashboard'));
admin_externalpage_setup('profilepage', '', null, '', array('pagelayout' => 'mydashboard'));
// Override pagetype to show blocks properly.
$PAGE->set_pagetype('user-profile');