added the smarty var to the hook_params, this makes it possible to creat...

Added the smarty var to the hook_params, this makes it possible to create modules that can assign variables to the smarty local scope.