Re: [SMARTY] Smarty 2.6.1: html_table problem with arguments

From: Date: Mon, 19 Jan 2004 12:58:55 +0000
Subject: Re: [SMARTY] Smarty 2.6.1: html_table problem with arguments
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10845@lists.php.net to get a copy of this message
On Mon, Jan 19, 2004 at 01:27:31PM +0100, Bertrand Zuchuat wrote: > 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> Ups! That's a bug. A fix is committed to cvs. You can use libs/plugins/function.html_table.php from cvs or from the 2.6.0-distribution together with Smarty-2.6.1. greetings messju > 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 > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#10845) next »