|
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 |
tison06 Smarty Rookie
Joined: 27 Nov 2010 Posts: 7 Location: Nice
|
Posted: Sat Nov 27, 2010 12:45 pm Post subject: Equivalent echo |
|
|
Bonjour, j'ai une fonction langue et je fais l'affichage comme ceci en php:
Code: | <?php echo __("Mon compte"); ?> |
Comment dois-je procéder pour afficher mon texte sous smarty?
comme ceci?
Code: | {$var|text:"Mon compte"} |
Sachant que ma fonction se lance comme ceci __ .
Merci d'avance |
|
Back to top |
|
Gowser Smarty Pro
Joined: 19 Feb 2008 Posts: 104 Location: Nantes (France)
|
|
Back to top |
|
tison06 Smarty Rookie
Joined: 27 Nov 2010 Posts: 7 Location: Nice
|
Posted: Sat Nov 27, 2010 4:54 pm Post subject: |
|
|
Merci pour ton aide je vais feuilleter ca ! |
|
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
|