### Eclipse Workspace Patch 1.0 #P drupal-contrib-5 Index: modules/pngfix/pngfix.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/pngfix/pngfix.module,v retrieving revision 1.1.2.1 diff -u -r1.1.2.1 pngfix.module --- modules/pngfix/pngfix.module 24 Oct 2007 19:53:11 -0000 1.1.2.1 +++ modules/pngfix/pngfix.module 24 Oct 2007 23:03:53 -0000 @@ -1,9 +1,7 @@ - - '; - drupal_set_html_head($html); + drupal_add_css(drupal_get_path('module', 'pngfix') .'/pngfix.css'); } return $items; } Index: modules/pngfix/pngfix.js =================================================================== RCS file: modules/pngfix/pngfix.js diff -N modules/pngfix/pngfix.js --- modules/pngfix/pngfix.js 24 Oct 2007 19:53:11 -0000 1.1.2.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,39 +0,0 @@ -/* - -Correctly handle PNG transparency in Win IE 5.5 & 6. -http://homepage.ntlworld.com/bobosola. Updated 18-Jan-2006. - -Use in with DEFER keyword wrapped in conditional comments: - - -*/ - -var arVersion = navigator.appVersion.split("MSIE") -var version = parseFloat(arVersion[1]) - -if ((version >= 5.5) && (document.body.filters)) -{ - for(var i=0; i" - img.outerHTML = strNewHTML - i = i-1 - } - } -} Index: modules/pngfix/pngfix.css =================================================================== RCS file: modules/pngfix/pngfix.css diff -N modules/pngfix/pngfix.css --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ modules/pngfix/pngfix.css 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,3 @@ +img, div { + behavior: url("/drupal/sites/all/modules/pngfix/iepngfix.htc"); +} Index: modules/pngfix/iepngfix.htc =================================================================== RCS file: modules/pngfix/iepngfix.htc diff -N modules/pngfix/iepngfix.htc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ modules/pngfix/iepngfix.htc 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,99 @@ + + + + +