Smarty template engine integration for Thelia