mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-8872 Merged "course" fixes from 1.8
This commit is contained in:
parent
9217695a64
commit
5b6191963b
@ -19,6 +19,7 @@ $string['browserepository'] = 'Browse repository';
|
||||
$string['chooseapacket'] = 'Choose or update a package';
|
||||
$string['completed'] = 'Completed';
|
||||
$string['confirmloosetracks'] = 'WARNING: The package seems to be changed or modified. If the package structure is changed, some users tracks may be lost during update process.';
|
||||
$string['contents'] = 'Contents';
|
||||
$string['coursepacket'] = 'Course package';
|
||||
$string['coursestruct'] = 'Course structure';
|
||||
$string['datadir'] = 'Filesystem Error: Can\'t create course data directory';
|
||||
|
@ -133,10 +133,10 @@
|
||||
if ($scorm->popup == 1) {
|
||||
$bodyscript = 'onunload="main.close();"';
|
||||
}
|
||||
$exitlink = '(<a href="'.$CFG->wwwroot.'/course/view.php?id='.$cm->course.'">'.get_string('exit','scorm').'</a>) ';
|
||||
|
||||
print_header($pagetitle, $course->fullname,
|
||||
"$navigation <a $CFG->frametarget href=\"view.php?id=$cm->id\">".format_string($scorm->name,true)."</a>",
|
||||
'', '', true, $exitlink.update_module_button($cm->id, $course->id, $strscorm), '', false, $bodyscript);
|
||||
'', '', true, update_module_button($cm->id, $course->id, $strscorm), '', false, $bodyscript);
|
||||
if ($sco->scormtype == 'sco') {
|
||||
?>
|
||||
<script type="text/javascript" src="request.js"></script>
|
||||
@ -161,7 +161,7 @@
|
||||
if ($scorm->hidetoc == 0) {
|
||||
?>
|
||||
<div id="tocbox" class="generalbox">
|
||||
<div id="tochead" class="header"><?php print_string('coursestruct','scorm') ?></div>
|
||||
<div id="tochead" class="header"><?php print_string('contents','scorm') ?></div>
|
||||
<div id="toctree">
|
||||
<?php echo $result->toc; ?>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user