The headmaster was pleased with what we did. He praised us and also encouraged us to do more to protect the environment.
各位老师,请问to protect the environment在这作定做吗?
这里的 to protect the environment 是动词不定式短语,作目的状语。