Hello,
  I have downloaded Smarty-2.6.1.
  Very good templates. But using it I have found one bug (I think
  that's bug) with {html_table tr_attr=...}

  For example this code does not change the colors of row in table.

index.php:
----------
require('Smarty.class.php');
$smarty = new Smarty;
$smarty->assign('data',array(1,2,3,4,5,6,7,8,9));
$smarty->assign('tr',array('bgcolor="#eeeeee"','bgcolor="#dddddd"'));
$smarty->display('index.tpl');

index.tpl:
----------
{html_table loop=$data cols=4 tr_attr=$tr}

But in Smarty-2.5.0 that was working. When I changed new file with old
(from v.2.5.0) it began working.

-- 
Best regards,
 Igor.                          mailto:[EMAIL PROTECTED]

Reply via email to