forked from extern/egroupware
another PHP 5.2 bugfix and an javascript fix from Sebastian
This commit is contained in:
parent
c107224bf5
commit
8e1dc4b5b1
Binary file not shown.
@ -1056,7 +1056,7 @@ class html
|
||||
if ($this->user_agent == 'msie' && $this->ua_version >= 5.5 && substr($url,-4) == '.png')
|
||||
{
|
||||
$extra_styles = "display: inline-block; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='$url',sizingMethod='image'); width: 1px; height: 1px;";
|
||||
if (strstr($options,'style="'))
|
||||
if (false!==strpos($options,'style="'))
|
||||
{
|
||||
$options = str_replace('style="','style="'.$extra_styles, $options);
|
||||
}
|
||||
|
@ -1,8 +1,6 @@
|
||||
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher.
|
||||
{
|
||||
var numberOfImages = document.images.length;
|
||||
|
||||
for(var i=0; i<numberOfImages; i++)
|
||||
for(var i=0; i<document.images.length; i++)
|
||||
{
|
||||
var img = document.images[i]
|
||||
var imgName = img.src.toUpperCase()
|
||||
|
Loading…
Reference in New Issue
Block a user