I would like to get all variables assigned to Smarty inside the template.
This is a forum thread dealing with this topic.