|
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 |
Tom Irish Smarty Rookie
Joined: 23 Apr 2004 Posts: 9
|
Posted: Mon Aug 16, 2004 2:38 pm Post subject: Ersetzen von Variablen im Template |
|
|
Hallo,
ich hab da ein Problem und suche verzweifelt nach einer lösung.
Ich hole mir Daten aus einer mysqltabelle (arrays) und weiße Sie dem Template zu. Jedoch habe ich in dem Array auch werte mit Zahlen die ich sprachenspezifisch als einen string ausgeben muss.
aus z.B. {$value.kennzeichnung} (kann 1 2 3 4 etc. sein)
soll ein string werden
z.b. in deutsch -> unbekannt "für 1"
in englisch -> unknow. "für 1"
gibt es einen Modifizer für String (im Template) wo ich sowas umsetzen kann? |
|
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
|