mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 08:30:04 +01:00
Merge branch 'm29_MDL-48389' of https://github.com/totara/moodle
This commit is contained in:
commit
6009ccb2f1
5
help.php
5
help.php
@ -42,6 +42,11 @@ $PAGE->set_pagelayout('popup');
|
||||
$PAGE->set_context(context_system::instance());
|
||||
|
||||
$data = get_formatted_help_string($identifier, $component, false);
|
||||
if (!empty($data->heading)) {
|
||||
$PAGE->set_title($data->heading);
|
||||
} else {
|
||||
$PAGE->set_title(get_string('help'));
|
||||
}
|
||||
echo $OUTPUT->header();
|
||||
if (!empty($data->heading)) {
|
||||
echo $OUTPUT->heading($data->heading, 1, 'helpheading');
|
||||
|
Loading…
x
Reference in New Issue
Block a user