이미지 링크에서 png이미지 사용지 ie6를 위한 iePngFix 클래스 자동 추가

git-svn-id: http://xe-core.googlecode.com/svn/trunk@2237 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-07 08:18:20 +00:00
parent f80f550225
commit 2b858dd3dd

View file

@ -66,6 +66,8 @@
}
if($align) $attr_output[] = "align=\"".$align."\"";
if(eregi("\.png$",$src)) $attr_output[] = "class=\"iePngFix\"";
if($width) $style_output[] = "width:".$width."px";
if($height) $style_output[] = "height:".$height."px";
if(!$align) $style_output[] = "display:block";