Merge branch 'wip-mdl-43028-m26' of https://github.com/rajeshtaneja/moodle into MOODLE_26_STABLE

This commit is contained in:
Dan Poltawski 2013-12-04 15:06:30 +08:00
commit 307d961277

View file

@ -40,7 +40,7 @@ require_login();
$header = "$SITE->shortname: ".get_string('publicprofile')." (".get_string('myprofile', 'admin').")"; $header = "$SITE->shortname: ".get_string('publicprofile')." (".get_string('myprofile', 'admin').")";
$PAGE->set_blocks_editing_capability('moodle/my:configsyspages'); $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. // Override pagetype to show blocks properly.
$PAGE->set_pagetype('user-profile'); $PAGE->set_pagetype('user-profile');