User: mrjeeves Branch: HEAD Date: Wed, 03 Dec 2008 06:29:21 +0000 Added files: /modules/pngbehave blank.gif Modified files: /modules/pngbehave iepngfix.htc pngbehave.module Log message: Replaced Line 21 in pngbehave.module: drupal_set_html_head('<style type="text/css">'.$pngbehaveclasses.' { behavior: url(/'. drupal_get_path('module', 'pngbehave') . '/iepngfix.htc)}</style><!--[if lt IE 7]><script type="text/javascript" src="/'. drupal_get_path('module', 'pngbehave') . '/iepngfix_tilebg.js"></script><![endif]-->'); with: global $base_path; drupal_set_html_head('<!--[if lt IE 7]><style type="text/css">'.$pngbehaveclasses.' { behavior: url('. $base_path . drupal_get_path('module', 'pngbehave') . '/iepngfix.htc)}</style><script type="text/javascript" src="'. $base_path . drupal_get_path('module', 'pngbehave') . '/iepngfix_tilebg.js"></script><![endif]-->'); the $base_path php variable defaults to '/' and allows for use of pngbehave in subdirectory based drupal installs. Replaced Line 16 in iepngfix.htc: IEPNGFix.blankImg = '/iepngfix/blank.gif'; with: IEPNGFix.blankImg = Drupal.settings.basePath + 'sites/all/modules/pngbehave/blank.gif'; NOTE: not sure how else I can inform the js files where to get the blank.gif file from, suggestions welcome. Commit blank.gif to this build Links: http://cvs.drupal.org/diff.php?path=contributions/modules/pngbehave/blank.gi... http://cvs.drupal.org/diff.php?path=contributions/modules/pngbehave/iepngfix... http://cvs.drupal.org/diff.php?path=contributions/modules/pngbehave/pngbehav...
participants (1)
-
drupal-cvs@drupal.org