mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
add page heading
This commit is contained in:
parent
d0f9f92c9d
commit
b3ddf59ab4
@ -163,9 +163,12 @@
|
|||||||
admin_externalpage_setup('coursemgmt', '', $urlparams, $CFG->wwwroot . '/course/category.php');
|
admin_externalpage_setup('coursemgmt', '', $urlparams, $CFG->wwwroot . '/course/category.php');
|
||||||
$PAGE->set_context($context); // Ensure that we are actually showing blocks etc for the cat context
|
$PAGE->set_context($context); // Ensure that we are actually showing blocks etc for the cat context
|
||||||
echo $OUTPUT->header();
|
echo $OUTPUT->header();
|
||||||
} else {
|
} else {
|
||||||
|
$PAGE->navbar->add($strcategories, new moodle_url('/course/index.php'));
|
||||||
|
$PAGE->navbar->add($category->name);
|
||||||
|
$PAGE->navbar->add($strcourses);
|
||||||
$PAGE->set_title("$site->shortname: $category->name");
|
$PAGE->set_title("$site->shortname: $category->name");
|
||||||
$PAGE->set_heading("$site->fullname: $strcourses");
|
$PAGE->set_heading($site->fullname);
|
||||||
$PAGE->set_button(print_course_search('', true, 'navbar'));
|
$PAGE->set_button(print_course_search('', true, 'navbar'));
|
||||||
$PAGE->set_pagelayout('coursecategory');
|
$PAGE->set_pagelayout('coursecategory');
|
||||||
echo $OUTPUT->header();
|
echo $OUTPUT->header();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user