Teacher terminated after Playboy photos