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 13
13
14
14
require_once '../config/configuration.php ' ;
15
15
16
+ if (!isset ($ _configuration ['lp_fix_embed_content ' ])) {
17
+ exit ;
18
+ }
19
+
20
+ if (true !== $ _configuration ['lp_fix_embed_content ' ]) {
21
+ exit ;
22
+ }
23
+
16
24
/**
17
25
* Returns "%" or "px"
18
26
*
@@ -119,7 +127,7 @@ function get_http_response_code($theURL)
119
127
break ;
120
128
case 'flash ' :
121
129
$ result = '
122
- <object
130
+ <object
123
131
id=" ' .$ id .'" width=" ' .$ width .'" height=" ' .$ height .'" align="center"
124
132
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
125
133
<param name="id" value=" ' .$ id .'">
@@ -133,11 +141,11 @@ function get_http_response_code($theURL)
133
141
<param name="wmode" value="transparent">
134
142
<param name="flashvars" value=" ' .$ vars .'">
135
143
<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"
139
147
flashvars=" ' .$ vars .'" src=" ' .$ src .'"
140
- type="application/x-shockwave-flash"
148
+ type="application/x-shockwave-flash"
141
149
>
142
150
</object> ' ;
143
151
}
You can’t perform that action at this time.
0 commit comments