Skip to content
Permalink
Browse files

MDL-40733 mod_forum: added the forum name to some pages that were mis…

…sing it
  • Loading branch information...
andyjdavis committed Aug 26, 2013
1 parent 4387152 commit 82cf5816930b72923509d9955b13e449dfc3ea3f
Showing with 3 additions and 0 deletions.
  1. +1 −0 mod/forum/discuss.php
  2. +1 −0 mod/forum/post.php
  3. +1 −0 mod/forum/view.php
@@ -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_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)) {

0 comments on commit 82cf581

Please sign in to comment.
You can’t perform that action at this time.