mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-40733 mod_forum: added the forum name to some pages that were missing it
This commit is contained in:
parent
438715218d
commit
82cf581693
@ -160,6 +160,7 @@
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->set_button($searchform);
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading(format_string($forum->name), 2);
|
||||
|
||||
/// Check to see if groups are being used in this forum
|
||||
/// If so, make sure the current person is allowed to see this discussion
|
||||
|
@ -860,6 +860,7 @@ $PAGE->set_title("$course->shortname: $strdiscussionname ".format_string($toppos
|
||||
$PAGE->set_heading($course->fullname);
|
||||
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading(format_string($forum->name), 2);
|
||||
|
||||
// checkup
|
||||
if (!empty($parent) && !forum_user_can_see_post($forum, $discussion, $post, null, $cm)) {
|
||||
|
@ -111,6 +111,7 @@
|
||||
$PAGE->set_heading(format_string($course->fullname));
|
||||
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading(format_string($forum->name), 2);
|
||||
|
||||
/// Some capability checks.
|
||||
if (empty($cm->visible) and !has_capability('moodle/course:viewhiddenactivities', $context)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user