From c1103024bc7fc95ab1089a9a3c7991791a8764a9 Mon Sep 17 00:00:00 2001 From: "stephen@cubedesigners.com" Date: Mon, 29 Jan 2018 17:38:01 +0000 Subject: [PATCH] WIP #1852 @0.5 --- .../landing-page/class.ws.html5.compiler.php | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/inc/ws/Util/html5/landing-page/class.ws.html5.compiler.php b/inc/ws/Util/html5/landing-page/class.ws.html5.compiler.php index a015a2650..339a2853e 100644 --- a/inc/ws/Util/html5/landing-page/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/landing-page/class.ws.html5.compiler.php @@ -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 != '') { -- 2.39.5