php template amends'