PHP Classes

label bug

Recommend this page to a friend!

      PHProgress Bar  >  All threads  >  label bug  >  (Un) Subscribe thread alerts  
Subject:label bug
Summary:Minor label color bug
Messages:1
Author:Si Cranmer
Date:2008-02-25 20:28:03
 

  1. label bug   Reply   Report abuse  
Picture of Si Cranmer Si Cranmer - 2008-02-25 20:28:03
Just noticed a small addition needs to be made. Color for a label does not currently work. to use this just add a new line after

if (array_key_exists('bgr_color', $data) && ($data['bgr_color']!='')) {$style_lbl .= 'background:'.$data['bgr_color'].';';}

so your script now reads

if (array_key_exists('bgr_color', $data) && ($data['bgr_color']!='')) {$style_lbl .= 'background:'.$data['bgr_color'].';';}
if (array_key_exists('color', $data) && ($data['color']!='')) {$style_lbl .= 'color:'.$data['color'].';';}

HTH

Si.

 
For more information send a message to info at phpclasses dot org.