Re: [SMARTY] Using variable config var
| From: | Nagger | Date: | Sat, 22 Mar 2003 17:29:50 +0000 |
| Subject: | Re: [SMARTY] Using variable config var | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8830@lists.php.net to get a copy of this message | ||
for variable config vars use: {$smarty.config.$vars}
----- Original Message -----
From: "Nino Katic" <nkatic@public.srce.hr>
To: "smarty" <smarty-general@lists.php.net>
Sent: Saturday, March 22, 2003 2:19 PM
Subject: [SMARTY] Using variable config var
> Hi,
>
> One more question dealing config vars. How to make something like this:
>
> php:
>
> $confarray = array ('foo', 'bar', 'bla')
>
> template:
>
> {#$vars#}
>
> I think this question was asked already on this list but i forgot the
> solution.
>
> Nino
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>