### 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.2.2.1 diff -u -r1.2.2.1 pngfix.module --- modules/pngfix/pngfix.module 24 Oct 2007 23:13:54 -0000 1.2.2.1 +++ modules/pngfix/pngfix.module 8 Nov 2007 00:26:28 -0000 @@ -19,7 +19,13 @@ function pngfix_menu($may_cache) { $items = array(); if (!$may_cache) { - drupal_add_css(drupal_get_path('module', 'pngfix') .'/pngfix.css'); + $path = base_path() . drupal_get_path('module', 'pngfix'); + drupal_set_html_head(''); + drupal_add_js(array('blankimg' => $path .'/blank.gif'), 'setting'); } return $items; } Index: modules/pngfix/iepngfix.htc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/pngfix/Attic/iepngfix.htc,v retrieving revision 1.1.2.1 diff -u -r1.1.2.1 iepngfix.htc --- modules/pngfix/iepngfix.htc 24 Oct 2007 23:13:54 -0000 1.1.2.1 +++ modules/pngfix/iepngfix.htc 8 Nov 2007 00:26:28 -0000 @@ -12,7 +12,7 @@ // This must be a path to a blank image, relative to the HTML document(s). // In production use I suggest '/images/blank.gif' or similar. That's all! -if (typeof blankImg == 'undefined') var blankImg = '/drupal/sites/all/modules/pngfix/blank.gif'; +if (typeof blankImg == 'undefined') var blankImg = Drupal.settings['blankimg']; Index: modules/pngfix/pngfix.css =================================================================== RCS file: modules/pngfix/pngfix.css diff -N modules/pngfix/pngfix.css --- modules/pngfix/pngfix.css 24 Oct 2007 23:13:54 -0000 1.1.2.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -img, div { - behavior: url("/drupal/sites/all/modules/pngfix/iepngfix.htc"); -}