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

jswaby’s picture

Assigned: Unassigned » jswaby
Status: Needs review » Active

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.

jswaby’s picture

Assigned: jswaby » Unassigned
Status: Active » Closed (fixed)

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.