updated Smarty vars to support dForm_element.tpl