Moving templates into PHP to allow for internationalization and easy replacement via PHP