|
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 |
UnDike Smarty Rookie
Joined: 18 May 2004 Posts: 7
|
Posted: Thu May 20, 2004 12:03 pm Post subject: Übergabe der Werte |
|
|
Moin,
mal wieder ein Problem.
in der *.php-Datei habe ich folgenden Code:
Code: | $smarty->assign("log", array("pass" => $l_pass,"user" => $l_user,"login" => $l_login)); |
in der *.tpl-Datei:
Code: | <td width="50%" align="right">{$log[user]} </td> |
Warum erfolgt keine Ausgabe des Wertes $l_user ?
Innerhalb der phpScriptes hat er den Wert 'Benutzer' oder 'User', je nach eingestellter Sprache. Er wird aber irgendwie nicht an das tplScript übergeben. Warum nicht? Was mache ich falsch?
mfg
Torsten |
|
Back to top |
|
UnDike Smarty Rookie
Joined: 18 May 2004 Posts: 7
|
Posted: Thu May 20, 2004 1:21 pm Post subject: |
|
|
hat sich erledigt.
fehler gefunden.
in der *.tpl-datei muss der code geändert werden zu.
Code: | <td width="50%" align="right">{$log.user} </td> |
|
|
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
|