]> _ Git - cubeextranet.git/commitdiff
wip #4133 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 31 Dec 2020 07:45:36 +0000 (07:45 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 31 Dec 2020 07:45:36 +0000 (07:45 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index 32f57a11fc7a353aae4a543c267d253fc68ef55a..b91faa27308e404c95c7570e1546835725766e87 100644 (file)
@@ -1624,8 +1624,12 @@ class wsHTML5Compiler
                 }
             }
             if ($linkData['type'] == 32) {
-                $hiddenLinks[] = $linkData['to'];
-                $hiddenLinks[] = 'i_' . $linkData['to'];
+                $ids = explode(',', $linkData['to']);
+                foreach ($ids as $id) {
+                    $id = trim($id);
+                    $hiddenLinks[] = $id;
+                    $hiddenLinks[] = 'i_' . $id;
+                }
             }
         }
 
@@ -2265,7 +2269,7 @@ class wsHTML5Compiler
 
         #Videos
         if ($this->book->parametres->bigPlayImage) {
-            $this->lessVariables['video-bigplay-image'] = '~"../data/links/' . $this->book->parametres->bigPlayImage.'"';
+            $this->lessVariables['video-bigplay-image'] = '~"../data/links/' . $this->book->parametres->bigPlayImage . '"';
             $this->vdir->copy($this->wdir . '/' . $this->book->parametres->bigPlayImage, 'data/links/' . $this->book->parametres->bigPlayImage);
         } else {
             $this->lessVariables['video-bigplay-image'] = '~"data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 113.4 113.4\'%3E%3Cstyle%3E.st0%7Bopacity:0.8;%7D .st1%7Bfill:%23FFFFFF;%7D%3C/style%3E%3Cpath class=\'st0\' d=\'M110.5 113.4H2.9c-1.6 0-2.9-1.3-2.9-2.9V2.9C0 1.3 1.3 0 2.9 0h107.6c1.6 0 2.9 1.3 2.9 2.9v107.6c0 1.6-1.3 2.9-2.9 2.9z\'/%3E%3Cpath class=\'st1\' d=\'M45.8 37.8l31.5 17.9c.8.5.8 1.6 0 2.1L45.8 75.6c-.8.5-1.8-.1-1.8-1V38.8c0-.9 1-1.5 1.8-1z\'/%3E%3C/svg%3E"';