Changeset 139336
- Timestamp:
- 07/26/2009 03:24:34 AM (17 years ago)
- Location:
- shadows
- Files:
-
- 4 edited
- 1 copied
-
tags/0.3.3 (copied) (copied from shadows/trunk)
-
tags/0.3.3/readme.txt (modified) (2 diffs)
-
tags/0.3.3/shadows.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/shadows.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shadows/tags/0.3.3/readme.txt
r135992 r139336 5 5 Requires at least: 2.5 6 6 Tested up to: 2.8 7 Stable Tag: 0.3. 27 Stable Tag: 0.3.3 8 8 9 9 This is a plugin to add a range of shadow types to a range of objects. Currently supported are images, divs and blockquotes. … … 79 79 == Changelog == 80 80 81 = 0.3.3 = 82 * Added support to include the border widths in the calculation for the OS X style shadows 83 81 84 = 0.3.2 = 82 85 * Addressed a bug causing images to sometimes not display in IE with OS X style shadows -
shadows/tags/0.3.3/shadows.php
r135992 r139336 4 4 Plugin URI: http://deepport.net/computing/wordpress-shadows-plugin/ 5 5 Description: Adds a range of shadow types to images, divs and blockquotes 6 Version: 0.3. 26 Version: 0.3.3 7 7 Author: Andrew Radke 8 8 Author URI: http://deepport.net/ … … 82 82 $style = ''; 83 83 } else { 84 $borderwidthleft = 0; 85 $borderwidthright = 0; 86 preg_match_all ( '/border[^;"]*/ims',$style, $borders ); 87 foreach ( $borders[0] as $border) { 88 $borderwidth = preg_replace ('/border-(top|bottom)/i', '\\1', $border); 89 if ($borderwidth != $border) continue; 90 91 $borderwidth = preg_replace ('/border-left[^\d]*(\d*)px.*/i', '\\1', $border); 92 if ($borderwidth != $border) { 93 $borderwidthleft = $borderwidth; 94 continue; 95 } 96 $borderwidth = preg_replace ('/border-right[^\d]*(\d*)px.*/i', '\\1', $border); 97 if ($borderwidth != $border) { 98 $borderwidthright = $borderwidth; 99 continue; 100 } 101 $borderwidth = preg_replace ('/[^\d]*(\d*)px.*/i', '\\1', $border); 102 $borderwidthleft = $borderwidth; 103 $borderwidthright = $borderwidth; 104 } 105 $width = $width + $borderwidthleft + $borderwidthright; 106 84 107 preg_match_all ( '/margin[^;"]*/ims',$style, $margins ); 85 108 $style = ''; -
shadows/trunk/readme.txt
r135992 r139336 5 5 Requires at least: 2.5 6 6 Tested up to: 2.8 7 Stable Tag: 0.3. 27 Stable Tag: 0.3.3 8 8 9 9 This is a plugin to add a range of shadow types to a range of objects. Currently supported are images, divs and blockquotes. … … 79 79 == Changelog == 80 80 81 = 0.3.3 = 82 * Added support to include the border widths in the calculation for the OS X style shadows 83 81 84 = 0.3.2 = 82 85 * Addressed a bug causing images to sometimes not display in IE with OS X style shadows -
shadows/trunk/shadows.php
r135992 r139336 4 4 Plugin URI: http://deepport.net/computing/wordpress-shadows-plugin/ 5 5 Description: Adds a range of shadow types to images, divs and blockquotes 6 Version: 0.3. 26 Version: 0.3.3 7 7 Author: Andrew Radke 8 8 Author URI: http://deepport.net/ … … 82 82 $style = ''; 83 83 } else { 84 $borderwidthleft = 0; 85 $borderwidthright = 0; 86 preg_match_all ( '/border[^;"]*/ims',$style, $borders ); 87 foreach ( $borders[0] as $border) { 88 $borderwidth = preg_replace ('/border-(top|bottom)/i', '\\1', $border); 89 if ($borderwidth != $border) continue; 90 91 $borderwidth = preg_replace ('/border-left[^\d]*(\d*)px.*/i', '\\1', $border); 92 if ($borderwidth != $border) { 93 $borderwidthleft = $borderwidth; 94 continue; 95 } 96 $borderwidth = preg_replace ('/border-right[^\d]*(\d*)px.*/i', '\\1', $border); 97 if ($borderwidth != $border) { 98 $borderwidthright = $borderwidth; 99 continue; 100 } 101 $borderwidth = preg_replace ('/[^\d]*(\d*)px.*/i', '\\1', $border); 102 $borderwidthleft = $borderwidth; 103 $borderwidthright = $borderwidth; 104 } 105 $width = $width + $borderwidthleft + $borderwidthright; 106 84 107 preg_match_all ( '/margin[^;"]*/ims',$style, $margins ); 85 108 $style = '';
Note: See TracChangeset
for help on using the changeset viewer.