Skip to content

Commit

Permalink
admin-roles MDL-22859 Set pagelayout so blocks are displayed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Jul 23, 2010
1 parent d367ae7 commit bd536f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion admin/roles/override.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
}
$PAGE->set_url($url);
$PAGE->set_context($context);
$PAGE->set_pagelayout('admin');

$courseid = $course->id;

Expand All @@ -79,7 +80,6 @@

$currenttab = 'permissions';

$PAGE->set_pagelayout('admin');
$PAGE->set_title($title);
$PAGE->navbar->add($straction);
switch ($context->contextlevel) {
Expand Down
1 change: 1 addition & 0 deletions admin/roles/usersroles.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@

$PAGE->set_url($baseurl);
$PAGE->set_context($coursecontext);
$PAGE->set_pagelayout('admin');

/// Check login and permissions.
require_login($course);
Expand Down

0 comments on commit bd536f5

Please sign in to comment.