Moncton court

William MacGillivray, a Moncton teacher and drama instructor, is accused of sexually exploiting two students. He was supposed to enter a plea on Monday but that has been delayed for two weeks. (CBC)

The case of a Moncton teacher accused of sexually exploiting two students has been postponed for two weeks.

William MacGillivray, 41, is accused of child luring, sexual exploitation, sexual assault and obstruction.

MacGillivray is a teacher at Harrison Trimble High School and a drama instructor.

The charges are alleged to have happened while he was in a position of trust. Some of the charges date back to 2010.

MacGillivray was supposed to enter a plea on Monday, but his lawyer says he just received disclosure from the Crown and needs time to go over it with his client.

The judge adjourned the matter until April 28.

MacGillivray is not in custody, but has to abide by several conditions.

He must not be alone with girls under the age of 18 unless with an adult, not have any contact with the initial complainant or her family and not possess a device to access the Internet unless it's at work.

MacGillivray must also remain in the Greater Moncton area, report weekly to police and submit to searches by police without a warrant.