Skip to content

Commit

Permalink
MDL-19815 Migrated calls to print_heading
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Aug 6, 2009
1 parent b2dc688 commit 465f165
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mod/scorm/report.php
Expand Up @@ -92,7 +92,7 @@
print_header("$course->shortname: ".format_string($scorm->name), $course->fullname, $navigation,
'', '', true);
}
print_heading(format_string($scorm->name));
echo $OUTPUT->heading(format_string($scorm->name));
}

if ($action == 'delete' && has_capability('mod/scorm:deleteresponses',$contextmodule)) {
Expand Down Expand Up @@ -284,7 +284,7 @@
if (!empty($userdata)) {
print_simple_box_start('center');
//print_heading(format_string($sco->title));
print_heading('<a href="'.$CFG->wwwroot.'/mod/scorm/player.php?a='.$scorm->id.'&amp;mode=browse&amp;scoid='.$sco->id.'" target="_new">'.format_string($sco->title).'</a>');
echo $OUTPUT->heading('<a href="'.$CFG->wwwroot.'/mod/scorm/player.php?a='.$scorm->id.'&amp;mode=browse&amp;scoid='.$sco->id.'" target="_new">'.format_string($sco->title).'</a>');
echo '<div class="mdl-align">'."\n";
print_user_picture($user, $course->id, $userdata->picture, false, false);
echo "<a href=\"$CFG->wwwroot/user/view.php?id=$user&amp;course=$course->id\">".
Expand Down
4 changes: 2 additions & 2 deletions mod/scorm/view.php
Expand Up @@ -70,7 +70,7 @@
}

// Print the main part of the page
print_heading(format_string($scorm->name));
echo $OUTPUT->heading(format_string($scorm->name));
$attemptstatus = '';
if ($scorm->displayattemptstatus == 1) {
$attemptstatus = scorm_get_attempt_status($USER,$scorm);
Expand All @@ -92,4 +92,4 @@
scorm_view_display($USER, $scorm, 'view.php?id='.$cm->id, $cm);
}
print_footer($course);
?>
?>

0 comments on commit 465f165

Please sign in to comment.