Re: [PHPTAL] tal:condition question

2011-09-23 Thread Kornel LesiƄski
On Fri, 23 Sep 2011 19:16:11 +0100, Teis Lindemark wrote: I have a list in my application where the first column should be one icon if the id of the offer is in an array or another icon otherwise. The array that have some icons looks something like this: $tmp[id] = 1 or 0. If id is 1, I

[PHPTAL] tal:condition question

2011-09-23 Thread Teis Lindemark
Hi, I have a list in my application where the first column should be one icon if the id of the offer is in an array or another icon otherwise. The array that have some icons looks something like this: $tmp[id] = 1 or 0. If id is 1, I should have one icon and another if 0. I added the array t