Added smarty constants