Re: [SMARTY] defining arrays in config files
| From: | Tarik ANSARI | Date: | Sat, 21 Feb 2004 13:03:20 +0000 |
| Subject: | Re: [SMARTY] defining arrays in config files | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10996@lists.php.net to get a copy of this message | ||
> I don't see anything wrong with putting these in a plain PHP file that's
> included by the template, rather than using Smarty's own features to
achieve
> the same thing. It won't break your code/layout separation, and it might
be
> a little bit easier.
If I am using smarty, it's because I want to be able to make my project
translated only by templates files, there should be zero text strings in any
php script of my project when completed. We shouldn't have to define those
kind of strings in php while config files are made for this. There is no
reason to Smarty for not supporting it...