del smarty functions