Posted by sjz on April 4, 2008 at 3:48am
Jump to:
| Project: | Pluralism |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Browser: IE7 does not need pngfix.js loaded and it is imported using the .info file.
Solution: remove the script[] = pngfix.js line from the .info file and, in file page.tpl.php, after the fragment:
<!--[if gte IE 7]>
<link type="text/css" rel="stylesheet" media="all" href="<?php print base_path().$directory; ? /ie7fix.css" />
<![endif]-->add the following code:
<!--[if lt IE 7]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->
Comments
#1
Actually, the icons I was using that required that script, I no longer use them in this theme (licensing issue).
I really should take that pngfix right out. Thanks.
#2
Done and committed. Since this is not a security bug and really doesn't affect the UI, I won't create a new release yet.