|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
slavec Smarty n00b
Joined: 18 Aug 2010 Posts: 1
|
Posted: Wed Aug 18, 2010 8:03 pm Post subject: Indeksy associativnogo massiva |
|
|
Delaju vyborku iz BD. I v zavisimosti ot yazyka neobhodimo vyvesti pole title_LV|RU|EN.
Jazyk hranitsja v massive $config.
Proboval vyvodit' {$arr.title_{$config.lang}} - Smarty rugaetsja.
Kak mozhno jeto realizovat'?
Zaranee spasibo. |
|
Back to top |
|
SiZE Smarty Rookie
Joined: 15 Sep 2010 Posts: 13
|
Posted: Thu Sep 23, 2010 5:27 am Post subject: |
|
|
{assign var='lang' value="title_`$config.lang`"}
{$arr.$lang} |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|