cycle? is it a bug.....
[email protected] (pete M) Sat, 30 Apr 2005 17:31:52 +0100
| Newsgroups | php.smarty.dev |
|---|---|
| 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