From a9ce6b1f8d5d599f1f120ba50fc6c623b9610d0c Mon Sep 17 00:00:00 2001 From: Rex Lorenzo Date: Fri, 27 Apr 2012 15:58:16 -0700 Subject: [PATCH 1/2] MDL-32670 mod/chat: added missing call to $PAGE->set_heading --- mod/chat/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/chat/index.php b/mod/chat/index.php index fbc6d377fc1..e000978bbf1 100644 --- a/mod/chat/index.php +++ b/mod/chat/index.php @@ -27,6 +27,7 @@ $strchat = get_string('modulename', 'chat'); /// Print the header $PAGE->navbar->add($strchats); $PAGE->set_title($strchats); +$PAGE->set_heading($course->fullname); echo $OUTPUT->header(); /// Get all the appropriate data From 4ff8dcccccc8e2734f28d824906315b941708214 Mon Sep 17 00:00:00 2001 From: Rex Lorenzo Date: Wed, 2 May 2012 19:08:51 -0700 Subject: [PATCH 2/2] MDL-32670 mod/chat: also added missing call to ->set_heading in report.php --- mod/chat/report.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/chat/report.php b/mod/chat/report.php index db22c83640e..9940f252858 100644 --- a/mod/chat/report.php +++ b/mod/chat/report.php @@ -39,6 +39,7 @@ $context = get_context_instance(CONTEXT_MODULE, $cm->id); $PAGE->set_context($context); + $PAGE->set_heading($course->fullname); require_login($course, false, $cm);