VANCOUVER -- A Langley, B.C., teacher has been suspended over a homophobic prank he played on a Grade 11 student in class.

Daniel Mark Ogloff is a metal fabrication and machining teacher at Aldergrove Community Secondary School.

On Sept. 24, 2013, Ogloff wrote "I'm gay" on a piece of masking tape and affixed it to the back of the male student's jacket.

He allowed other students to take pictures and let the boy leave class unaware of the tape on his back, describing it to officials later as "horseplay."

Ogloff had earlier received a verbal warning from the school district over comments he made to Grade 7 students and he received another letter over comments to a Grade 12 student in class.

The district suspended him without pay for 10 weeks over the homophobic incident and the B.C. Commissioner of Teacher Regulation suspended his teaching certificate for two weeks, from Sept. 22 to Oct. 5.