Hello Triky,
This worked well. But when I try it for several users, like in your example :
Code:
<if condition="in_array($post['userid'], 1,2,3)">
the template editor gives an error :
The following error occurred when attempting to evaluate this template:
Warning: Wrong parameter count for in_array() in /includes/adminfunctions_template.php(3596) : eval()'d code on line 52
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
I think it something with the first comma, could it be?
Regards,
Tim
--------------- Added [DATE]1195314928[/DATE] at [TIME]1195314928[/TIME] ---------------
Okay Triky,
I found it myself allready.
To correct code should be, if I did this good :erm: :
Code:
<if condition="in_array($post['userid'], array(1,2,3))">
Tim