mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 20:06:46 +02:00
Merge branch 'MDL-41612_b' of git://github.com/rwijaya/moodle
This commit is contained in:
commit
9f21d24895
6 changed files with 6 additions and 4 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue