Smarty 2.6.1: html_table problem with arguments
| From: | Bertrand Zuchuat | Date: | Mon, 19 Jan 2004 12:27:31 +0000 |
| Subject: | Smarty 2.6.1: html_table problem with arguments | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10844@lists.php.net to get a copy of this message | ||
Hello,
I have a problem with arguments into the function html_table.
With version 2.6 it's OK
With version 2.6.1 arguments in html code is Array
Code PHP:
$smarty->assign('td', array('width="300" align="center" valign="top"','valign="top"'));
Template:
{html_table loop=$data_a cols=2 table_attr='width="100%" border="0" cellspacing="0" cellpadding="3"' tr_attr=$tr td_attr=$td}
Output smarty 2.6.1: <td Array>Description</td>
Where is my problem ?
Thank's for your help.
Bertrand
=============================================
Groupe de compétences Informatique
RERO - Library Network of Western Switzerland
Av. de la Gare 45
CH - 1920 Martigny