From: vincent@cubedesigners.com Date: Mon, 4 Jan 2021 11:22:58 +0000 (+0000) Subject: fix #4165 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b8fa229fdef7b63bae67f364d0e6ad94431c795e;p=cubeextranet.git fix #4165 @0.25 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.links.php b/inc/ws/Util/html5/master/class.ws.html5.links.php index 200eaf3be..c2d56dca7 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -154,12 +154,15 @@ class wsHTML5Link case 16: return new fileLink($id, $init, $compiler); case 17: - if ($init['inline']) { + + $init['inline'] = self::normalizeInlineIntegration($init['inline']); + if ($init['inline'] === 'inline') { return new audioLink($id, $init, $compiler); } return new audioPopupLink($id, $init, $compiler); case 18: - if ($init['inline']) { + $init['inline'] = self::normalizeInlineIntegration($init['inline']); + if ($init['inline'] === 'inline') { return new tooltipLink($id, $init, $compiler); } return new textPopupLink($id, $init, $compiler); @@ -188,7 +191,8 @@ class wsHTML5Link case 30: return new slideshowLink($id, $init, $compiler); case 31: - if ($init['inline']) { + $init['inline'] = self::normalizeInlineIntegration($init['inline']); + if ($init['inline'] === 'inline') { return new iframeLink($id, $init, $compiler); } return new iframePopupLink($id, $init, $compiler);