Be it further enacted, that the salaries of all city officers, when fixed and determined by the mayor and council in the manner prescribed in this Act and in the manner prescribed by the laws and ordinances of said city, shall not be increased or diminished during the terms of office for which such officers are elected.