Plugin Directory

Changeset 673597


Ignore:
Timestamp:
02/26/2013 02:49:00 PM (13 years ago)
Author:
tranchesdunet
Message:

petite correction sur $h2w->hex2rgb($h2w_textcolor);

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hotlink2watermark/trunk/h2w_target.php

    r673555 r673597  
    8585        $watermark = ImageCreateTrueColor($wm_w, $wm_h);
    8686        $transparent = imagecolortransparent($watermark);
    87         $tcolor = $h2w::hex2rgb($h2w_textcolor);
    88         $scolor = $h2w::hex2rgb($h2w_shadowcolor);
     87        $tcolor = $h2w->hex2rgb($h2w_textcolor);
     88        $scolor = $h2w->hex2rgb($h2w_shadowcolor);
    8989        $textcolor = imagecolorallocatealpha( $watermark, $tcolor[0], $tcolor[1], $tcolor[2], 127 * (100 - $h2w_opacity) / 100 );
    9090      $shadowcolor = imagecolorallocatealpha( $watermark, $scolor[0], $scolor[1], $scolor[2], 127 * (100 - $h2w_opacity) / 100 );
Note: See TracChangeset for help on using the changeset viewer.