Skip to content

Commit

Permalink
MDL-19810 Upgraded calls to print_headline
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Aug 6, 2009
1 parent 11e0676 commit c16a1b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/hotpot/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ function hotpot_format_status($record, $undefined=' ') {
* @return bool
*/
function hotpot_print_recent_activity($course, $isteacher, $timestart) {
global $CFG, $DB;
global $CFG, $DB, $OUTPUT;

$result = false;

Expand Down Expand Up @@ -1149,7 +1149,7 @@ function hotpot_print_recent_activity($course, $isteacher, $timestart) {
}
}
if (count($names) > 0) {
print_headline(get_string('modulenameplural', 'hotpot').':');
echo $OUTPUT->heading(get_string('modulenameplural', 'hotpot').':');

if ($CFG->version >= 2005050500) { // Moodle 1.5+
echo '<div class="head"><div class="name">'.implode('<br />', $names).'</div></div>';
Expand Down

0 comments on commit c16a1b5

Please sign in to comment.