MDL-20447: add page heading

This commit is contained in:
Rossiani Wijaya 2010-10-18 03:03:56 +00:00
parent 8fc5e91a12
commit 82d443ba3c

View File

@ -60,6 +60,7 @@ $instancename = $enrol_manual->get_instance_name($instance);
$PAGE->set_url('/enrol/manual/manage.php', array('enrolid'=>$instance->id));
$PAGE->set_pagelayout('admin');
$PAGE->set_title($enrol_manual->get_instance_name($instance));
$PAGE->set_heading($course->fullname);
navigation_node::override_active_url(new moodle_url('/enrol/users.php', array('id'=>$course->id)));
// Create the user selector objects.