assign center vars with _template->tpl_vars