| 1 |
Releases for PNG Behave!
|
| 2 |
|
| 3 |
***********************************************************************
|
| 4 |
pngbehave 5.x-1.1-dev
|
| 5 |
5.x
|
| 6 |
wickwood - December 6, 2008 - 23:34
|
| 7 |
|
| 8 |
Fixed reference to blank.gif so that it references the blank.gif in the
|
| 9 |
modules directory and solves problem of PNGs being transparent but
|
| 10 |
having a funny border and/or red "X" icon on pages other than the homepage.
|
| 11 |
This also simplifes the installation procedure.
|
| 12 |
|
| 13 |
This required the following changes because Drupal.settings.basePath
|
| 14 |
does not exist for Drupal 5.
|
| 15 |
|
| 16 |
Removed Line 60 in pngbehave.module
|
| 17 |
-global $base_path;
|
| 18 |
Decided to use hase_path() function instead of direct reference with
|
| 19 |
a Global variable. Figured it's just a safer thing to do.
|
| 20 |
|
| 21 |
Added what is now Line 62 in pngbehave.module
|
| 22 |
+<script type="text/javascript">var Drupal_base_path = '. base_path() . ';</script>
|
| 23 |
This, or something similar to this, is required since
|
| 24 |
Drupal.settings.basePath is not available in Drupal 5.
|
| 25 |
|
| 26 |
Replaced $base_path with base_path()
|
| 27 |
in what is now line 63 in pngbehave.module
|
| 28 |
-<style type="text/css">'.$pngbehaveclasses.' { behavior: url('. $base_path . drupal_get_path('module', 'pngbehave') . '/iepngfix.htc)}</style>
|
| 29 |
with
|
| 30 |
+<style type="text/css">'.$pngbehaveclasses.' { behavior: url('. base_path() . drupal_get_path('module', 'pngbehave') . '/iepngfix.htc)}</style>
|
| 31 |
|
| 32 |
Replaced $base_path with base_path()
|
| 33 |
in what is now line 64 in pngbehave.module
|
| 34 |
-<script type="text/javascript" src="'. $base_path . drupal_get_path('module', 'pngbehave') . '/iepngfix_tilebg.js"></script>
|
| 35 |
with
|
| 36 |
+<script type="text/javascript" src="'. base_path() . drupal_get_path('module', 'pngbehave') . '/iepngfix_tilebg.js"></script>
|
| 37 |
|
| 38 |
Replaced Line 16 in iepngfix.htc:
|
| 39 |
-IEPNGFix.blankImg = 'files/blank.gif';
|
| 40 |
with:
|
| 41 |
+IEPNGFix.blankImg = Drupal_base_path + 'sites/all/modules/pngbehave/blank.gif';
|
| 42 |
|
| 43 |
Removed line 39, instruction 1b from README.txt
|
| 44 |
- b. Upload a copy of the blank.gif file to your files directory.
|
| 45 |
since this step is no longer necessary.
|
| 46 |
|
| 47 |
|
| 48 |
***********************************************************************
|
| 49 |
pngbehave 5.x-1.0-dev
|
| 50 |
5.x
|
| 51 |
wickwood - December 5, 2008 - 15:23
|
| 52 |
|
| 53 |
Initial development release
|
| 54 |
Backport of pngbehave 6.x-1.3 for Drupal 5.12
|
| 55 |
|
| 56 |
Combined pngbehave 6.x-1.3 pngbehave.admin.inc
|
| 57 |
into pngbehave 5.x-1.x-dev pngbehave.module
|
| 58 |
|
| 59 |
Replaced Line 16 in iepngfix.htc:
|
| 60 |
-IEPNGFix.blankImg = Drupal.settings.basePath + 'sites/all/modules/pngbehave/blank.gif';
|
| 61 |
with:
|
| 62 |
+IEPNGFix.blankImg = 'files/blank.gif';
|
| 63 |
because Drupal.settings.basePath does not exist for Drupal 5
|
| 64 |
|
| 65 |
Added link back to TwinHelix.com in hook_help.
|
| 66 |
***********************************************************************
|