cycle? is it a bug.....
pete M <[email protected]> Sat, 30 Apr 2005 17:31:52 +0100
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Message-ID | <[email protected]> |
smarty configuration has this line
$smarty->config_overwrite = false;
from the config file
cols = #ffffff
cols = #ff00ff
cols = #000000
in the template
{cycle values=#cols# name="foo"}
returns
#ffffff #ff00ff #000000 #ffffff #ff00ff #000000 #ffffff #ff00ff
For some reason it doenst work when the name value is missing so
{cycle values=#cols#}
returns
#ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff
is this a bug ?
Pete
--
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php