Elected offices' salaries frozen for four years