. . "such fines and penalties as may be prescribed by ordinance," . . .