Merge branch 'MDL-32670' of git://github.com/rlorenzo/moodle
authorSam Hemelryk <sam@moodle.com>
Tue, 8 May 2012 06:07:07 +0000 (18:07 +1200)
committerSam Hemelryk <sam@moodle.com>
Tue, 8 May 2012 06:07:07 +0000 (18:07 +1200)
mod/chat/index.php
mod/chat/report.php

index fbc6d37..e000978 100644 (file)
@@ -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
index db22c83..9940f25 100644 (file)
@@ -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);