Smarty templating component