File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 1313
1414require_once '../config/configuration.php ' ;
1515
16+ if (!isset ($ _configuration ['lp_fix_embed_content ' ])) {
17+ exit ;
18+ }
19+
20+ if (true !== $ _configuration ['lp_fix_embed_content ' ]) {
21+ exit ;
22+ }
23+
1624/**
1725 * Returns "%" or "px"
1826 *
@@ -119,7 +127,7 @@ function get_http_response_code($theURL)
119127 break ;
120128 case 'flash ' :
121129 $ result = '
122- <object
130+ <object
123131 id=" ' .$ id .'" width=" ' .$ width .'" height=" ' .$ height .'" align="center"
124132 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
125133 <param name="id" value=" ' .$ id .'">
@@ -133,11 +141,11 @@ function get_http_response_code($theURL)
133141 <param name="wmode" value="transparent">
134142 <param name="flashvars" value=" ' .$ vars .'">
135143 <param name="src" value=" ' .$ src .'">
136- <embed
137- id=" ' .$ id .'" width=" ' .$ width .'" height=" ' .$ height .'" bgcolor="#ffffff" align="center"
138- allowfullscreen="true" allowscriptaccess="always" quality="high" wmode="transparent"
144+ <embed
145+ id=" ' .$ id .'" width=" ' .$ width .'" height=" ' .$ height .'" bgcolor="#ffffff" align="center"
146+ allowfullscreen="true" allowscriptaccess="always" quality="high" wmode="transparent"
139147 flashvars=" ' .$ vars .'" src=" ' .$ src .'"
140- type="application/x-shockwave-flash"
148+ type="application/x-shockwave-flash"
141149 >
142150 </object> ' ;
143151}
You can’t perform that action at this time.
0 commit comments