]> _ Git - cubeextranet.git/commitdiff
fix #4165 @0.25
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 4 Jan 2021 11:22:58 +0000 (11:22 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 4 Jan 2021 11:22:58 +0000 (11:22 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index 200eaf3be2153e7e9568851ee0035ea24d0dac6d..c2d56dca7bc0b747ab6576646802149d1012919d 100644 (file)
@@ -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);