diff --git a/mod/scorm/index.php b/mod/scorm/index.php index 4daa0b45cb4..571886174f8 100644 --- a/mod/scorm/index.php +++ b/mod/scorm/index.php @@ -46,6 +46,7 @@ $PAGE->set_title($strscorms); $PAGE->set_heading($course->fullname); $PAGE->navbar->add($strscorms); echo $OUTPUT->header(); +echo $OUTPUT->heading($strscorms); $usesections = course_format_uses_sections($course->format); diff --git a/mod/scorm/player.php b/mod/scorm/player.php index 4fa58085e9b..6a5b84f60be 100644 --- a/mod/scorm/player.php +++ b/mod/scorm/player.php @@ -174,6 +174,7 @@ $PAGE->requires->data_for_js('scormplayerdata', Array('launch' => false, $PAGE->requires->js('/mod/scorm/request.js', true); $PAGE->requires->js('/lib/cookies.js', true); echo $OUTPUT->header(); +echo $OUTPUT->heading(format_string($scorm->name)); $PAGE->requires->string_for_js('navigation', 'scorm'); $PAGE->requires->string_for_js('toc', 'scorm'); diff --git a/mod/scorm/report.php b/mod/scorm/report.php index b2fedfba47f..6fbb1c22827 100644 --- a/mod/scorm/report.php +++ b/mod/scorm/report.php @@ -74,9 +74,9 @@ if (empty($noheader)) { $PAGE->navbar->add($strreport, new moodle_url('/mod/scorm/report.php', array('id'=>$cm->id))); echo $OUTPUT->header(); + echo $OUTPUT->heading(format_string($scorm->name)); $currenttab = 'reports'; require($CFG->dirroot . '/mod/scorm/tabs.php'); - echo $OUTPUT->heading(format_string($scorm->name)); } // Open the selected Scorm report and display it diff --git a/mod/scorm/report/graphs/report.php b/mod/scorm/report/graphs/report.php index 58e426f4c54..aba33993386 100644 --- a/mod/scorm/report/graphs/report.php +++ b/mod/scorm/report/graphs/report.php @@ -52,7 +52,7 @@ class scorm_graphs_report extends scorm_default_report { $imageurl = new moodle_url('/mod/scorm/report/graphs/graph.php', array('scoid' => $sco->id)); $graphname = $sco->title; - echo $OUTPUT->heading($graphname); + echo $OUTPUT->heading($graphname, 3); echo html_writer::tag('div', html_writer::empty_tag('img', array('src' => $imageurl, 'alt' => $graphname)), array('class' => 'graph')); diff --git a/mod/scorm/report/userreporttracks.php b/mod/scorm/report/userreporttracks.php index 4d7228db265..edbeb1c4820 100644 --- a/mod/scorm/report/userreporttracks.php +++ b/mod/scorm/report/userreporttracks.php @@ -87,7 +87,7 @@ if (!$table->is_downloading($download, $exportfilename)) { require($CFG->dirroot . '/mod/scorm/report/userreporttabs.php'); echo $OUTPUT->box_start('generalbox boxaligncenter'); echo $OUTPUT->heading("$strattempt $attempt - ". fullname($user).': '. - format_string($selsco->title). ' - '. get_string('details', 'scorm')); + format_string($selsco->title). ' - '. get_string('details', 'scorm'), 3); } $table->define_baseurl($PAGE->url); $table->define_columns(array('element', 'value')); diff --git a/mod/scorm/view.php b/mod/scorm/view.php index 692dcb4575e..6306f36c9a2 100644 --- a/mod/scorm/view.php +++ b/mod/scorm/view.php @@ -125,6 +125,7 @@ if (empty($launch) && (has_capability('mod/scorm:skipview', $contextmodule))) { $PAGE->set_title($pagetitle); $PAGE->set_heading($course->fullname); echo $OUTPUT->header(); +echo $OUTPUT->heading(format_string($scorm->name)); if (!empty($action) && confirm_sesskey() && has_capability('mod/scorm:deleteownresponses', $contextmodule)) { if ($action == 'delete') { @@ -144,7 +145,6 @@ $currenttab = 'info'; require($CFG->dirroot . '/mod/scorm/tabs.php'); // Print the main part of the page -echo $OUTPUT->heading(format_string($scorm->name)); $attemptstatus = ''; if (empty($launch) && ($scorm->displayattemptstatus == SCORM_DISPLAY_ATTEMPTSTATUS_ALL || $scorm->displayattemptstatus == SCORM_DISPLAY_ATTEMPTSTATUS_ENTRY)) {