added the smarty var to the hook_params, this makes it possible to create modules that can assign variables to the smarty local scope
Merge pull request #627 from davyrolink/upstream

[*] CORE : add $smarty to params in smartyHook function