RE: [SMARTY] Popup text
| From: | Van Den Berghe | Date: | Wed, 21 Aug 2002 10:55:56 +0000 |
| Subject: | RE: [SMARTY] Popup text | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5780@lists.php.net to get a copy of this message | ||
What if you want html-tags mixed with template-variables in your popup?
I managed it by constructing a variable in my php-file that is a
concatenation of variables and tags.
But then there is html in your php-file, which should be avoided.
It would be nice if you could
- have a seperate template for the popup layer, or
- have a way to concatenate html and variables in the text-attribute of
popup:
{popup text="{$var1}<tag>{$var2}<tag>{$var3}<tag>{$var4}<tag>"}
Any suggestions?
Tom
-----Oorspronkelijk bericht-----
Van: Roman Neuhauser [mailto:neuhauser@bellavista.cz]
Verzonden: woensdag 21 augustus 2002 12:51
Aan: smarty-general@lists.php.net
Onderwerp: Re: [SMARTY] Popup text
> From: "Valerio Santinelli" <tanis@mediacom.it>
> To: <smarty-general@lists.php.net>
> Date: Wed, 21 Aug 2002 12:31:38 +0200
> Subject: [SMARTY] Popup text
>
> Is it possible to include dynamic text in the popup function?
>
> Something along the line of
>
> {popup text="$doc.text"}
{popup text="{$variable_containing_the_text}"}
--
FreeBSD 4.6-STABLE
12:50PM up 18:42, 10 users, load averages: 0.00, 0.00, 0.00
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php