I had posted this as part of the previous bug instead of as a new bug. Reposted here.
#5 submitted by sleepytim on May 26, 2005 - 04:44
Would somebody remove the paypal/validate URL in the comment section of paypal_tipjar.module ? That caused a few hours of confusion on my side. It'd be nice if it points to paypal_framework.module.
Thanks,
Tim
#6 submitted by sleepytim on May 26, 2005 - 05:35
The use of (float) to convert the color codes does not appear to be correct. Replace the (float) instances with hexdec().
I also added this line to draw the target amount at the center of the graph which I think looks better.
$center = ($image->width - imagefontwidth(1) * (strlen($target_level)+1)) / 2;
if ($center < 0) { $center = 0; }
then use $center as the x coordinate for drawing the string.
Tim
Comments
Comment #1
sleepytim commentedNever mind - somebody already fixed these. Should've looked at the cvs code first. Delete this if you want.
Comment #2
sleepytim commented