Merge branch 'MDL-41612_b' of git://github.com/rwijaya/moodle

This commit is contained in:
Marina Glancy 2013-09-17 11:10:44 +10:00
commit 9f21d24895
6 changed files with 6 additions and 4 deletions

View file

@ -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)) {