]> _ Git - cubeextranet.git/commitdiff
WIP #1852 @0.5
authorstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 29 Jan 2018 17:38:01 +0000 (17:38 +0000)
committerstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 29 Jan 2018 17:38:01 +0000 (17:38 +0000)
inc/ws/Util/html5/landing-page/class.ws.html5.compiler.php

index a015a26502d421ce24f612a9cec3d0f26e38f919..339a2853ee5b76bdf625f61bcb069ae8a1936d02 100644 (file)
@@ -58,6 +58,7 @@ class wsHTML5Compiler {
                'js/libs/fluidbook/fluidbook.scorm.js',
                'js/libs/fluidbook/menu/fluidbook.chapters.js',
                'js/libs/fluidbook/menu/fluidbook.index.js',
+               'js/libs/fluidbook/fluidbook.landingpage.js',
                'js/libs/fluidbook/fluidbook.js',
                'js/main.js');
 
@@ -811,26 +812,8 @@ class wsHTML5Compiler {
 
                // Custom landing page content
                if ($this->book->parametres->landingPage != '') {
-
             $d = $this->unzipFile($this->book->parametres->landingPage, false, 'data/landing-page/');
-            error_log('#### LANDING PAGE FILE = '. $this->book->parametres->landingPage . ' #####');
-            error_log('#### COPYING '. $d['dir'] .' to '. $d['fdir'] . ' #####');
             $this->vdir->copyDirectory($d['dir'], $d['fdir']);
-
-//                 $links[] = [
-//                'page' => 'background',
-//                'top' => 0,
-//                'left' => 0,
-//                'width' => 1,
-//                'height' => 1,
-//                'type' => 6,
-//                'to' => $this->book->parametres->landingPage,
-//                'alternative' => $this->book->parametres->landingPage,
-//                'image' => '',
-//                'inline' => 1,
-//                'interactive' => 1,
-//                'class' => 'landingPageLink',
-//            ];
         }
 
                if ($this->book->parametres->tabsHTML5 != '') {