Hey folks,
I've got a problem displaying an image depending on a a variable / block
well anyways heres my code:
<tr>
<td>[user.#]</td>
<td>[user.username;block=tr]</td>
<td>[user.email]</td>
<td>[user.usergroup]</td>
<td><span>[user.active;block=span;when[user.active]=1]<img src="../templates/img/icons/tick.png" alt=""></span></td>
<td>[user.id]</td>
<td></td>
</tr>
|
As you can see a simple listing of users. But now it shows me the tick.png and the number regardless of its value.
So if user.active is 0 it shows me zero and tick.png.
What i really want is, that I don't see the number at all just the tick.
If somebody could help me that would be really nice
so long