MDL-74981 mod_assign: set limited width on overrides pages
This commit is contained in:
@@ -79,6 +79,7 @@ $title = get_string('deletecheck', null, $stroverride);
|
||||
|
||||
$PAGE->set_url($url);
|
||||
$PAGE->set_pagelayout('admin');
|
||||
$PAGE->add_body_class('limitedwidth');
|
||||
$PAGE->navbar->add($title);
|
||||
$PAGE->set_title($title);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
|
||||
@@ -255,6 +255,7 @@ if ($mform->is_cancelled()) {
|
||||
// Print the form.
|
||||
$PAGE->navbar->add($pagetitle);
|
||||
$PAGE->set_pagelayout('admin');
|
||||
$PAGE->add_body_class('limitedwidth');
|
||||
$PAGE->set_title($pagetitle);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->set_secondary_active_tab('mod_assign_useroverrides');
|
||||
|
||||
@@ -80,6 +80,7 @@ if ($action == 'movegroupoverride') {
|
||||
|
||||
// Display a list of overrides.
|
||||
$PAGE->set_pagelayout('admin');
|
||||
$PAGE->add_body_class('limitedwidth');
|
||||
$PAGE->set_title(get_string('overrides', 'assign'));
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$activityheader = $PAGE->activityheader;
|
||||
|
||||
Reference in New Issue
Block a user