decided to allow php in template files