|
General question about bgcolor globals in theme.php -
07-17-2003, 12:14 AM
Hi all,
I'm trying to get my head around how the 4 (apparently) standard bgcolor globals are used. Looking at the DeepBlue theme that comes with v6.5, You can see that the embedded HTML code uses some colour* values directly (such as bgcolor=\"#0E3259\") while others use the global variable (such as $bgcolor=\"$bgcolour2\").
Now, I've tried to replace all the colour references in DeepBlues theme.php with the appropriate global variable references, and made sure that the bgcolor3 and bgcolor4 were declared in the "global" line at the start of the appropriate functions. However, that appears to kill half of the colours, plus the block borders disappear.
Could someone explain to me what's going on? Is there a limit on how many variables can be declared in a "global" statement?
Any help is greatly appreciated.
Cheers,
Mike
*-(yes, I come from somewhere that spells it differently!)
|