Cleaned up references to .php files in template files