From: vincent@cubedesigners.com Date: Thu, 31 Dec 2020 07:45:36 +0000 (+0000) Subject: wip #4133 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=9d1b7d9c8bf5fbb984c3f5c1ea27c861d9b39fbd;p=cubeextranet.git wip #4133 @0.5 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index 32f57a11f..b91faa273 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -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"';