Use smarty_function_link?