mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-56565 forum: Add sitename as heading when there is nothing to display
This commit is contained in:
parent
73d78820c8
commit
8d8d00ef42
@ -219,6 +219,8 @@ if (empty($result->posts)) {
|
|||||||
$PAGE->set_heading($pageheading);
|
$PAGE->set_heading($pageheading);
|
||||||
} else if ($canviewuser) {
|
} else if ($canviewuser) {
|
||||||
$PAGE->set_heading(fullname($user));
|
$PAGE->set_heading(fullname($user));
|
||||||
|
} else {
|
||||||
|
$PAGE->set_heading($SITE->fullname);
|
||||||
}
|
}
|
||||||
echo $OUTPUT->header();
|
echo $OUTPUT->header();
|
||||||
if (!$isspecificcourse) {
|
if (!$isspecificcourse) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user