New ordinance will make some code violations civil, not crim