Greetings,
This tutorial is about using the arrays in the right way (basically speaking - for 4images coders).
For instance :
$site_template->register_vars(array(
"test" => $lang['test'],
"test1" => $lang['test1'],
));
This will allow you to register each new tags and use them like these :
{test}
{test1}
in your appropriate HTML template file.
Another way to do it would be like this :
$site_template->register_vars("test", $lang['test']);
$site_template->register_vars("test1", $lang['test1']);
(depending on the circomstances).
[Update - 10-01-2006]Then, from your related HTML template files, you can use :
{if test}{test}{endif test}
{if test1}{test1}{endif test1}