code of ezpublish templates