Teacher pleads not guilty to child pornography charges