MDL-26482 SCORM add option to disable TOC completely - thanks to Clark Burns for some help!

This commit is contained in:
Dan Marsden
2011-07-14 11:06:49 +12:00
parent ecb8829273
commit 99da7a9523
5 changed files with 61 additions and 41 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ if ($result->prerequisites) {
<?php echo $mode == 'review' ? '<div id="scormmode" class="scorm-left">'.get_string('reviewmode', 'scorm')."</div>\n" : ''; ?>
<div id="scormnav" class="scorm-right">
<?php
if ($scorm->hidetoc == 2) {
if ($scorm->hidetoc == SCORM_TOC_POPUP) {
echo $result->tocmenu;
}
?>