colors

From: Date: Tue, 03 Dec 2002 08:36:57 +0000
Subject: colors
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6618@lists.php.net to get a copy of this message
I have a colors.conf with the colors of my site in hex standard format like #CCFF33. Still I need to publish the in decimal (2 hex digits by 2), comma separated format like 204,255,51. I know I could change the format registering a function or assigning a new variable from PHP, but I ask you if there's a way to do this calculation from the template itself. Thank you. Mattia

« previous php.smarty.general (#6618) next »