Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Übergabe der Werte

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German
View previous topic :: View next topic  
Author Message
UnDike
Smarty Rookie


Joined: 18 May 2004
Posts: 7

PostPosted: Thu May 20, 2004 12:03 pm    Post subject: Übergabe der Werte Reply with quote

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
View user's profile Send private message
UnDike
Smarty Rookie


Joined: 18 May 2004
Posts: 7

PostPosted: Thu May 20, 2004 1:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP