Clean up the getpagesForDropdown method
Clean up the getpagesForDropdown method

tommyvdv/forkcms,forkcms/forkcms,riadvice/forkcms,carakas/forkcms,jessedobbelaere/forkcms,carakas/forkcms,riadvice/forkcms,jacob-v-dam/forkcms,riadvice/forkcms,Katrienvh/forkcms,Katrienvh/forkcms,bartdc/forkcms,sumocoders/forkcms,jeroendesloovere/forkcms,forkcms/forkcms,sumocoders/forkcms,jonasdekeukelaere/forkcms,jeroendesloovere/forkcms,jeroendesloovere/forkcms,jessedobbelaere/forkcms,Katrienvh/forkcms,carakas/forkcms,bartdc/forkcms,jacob-v-dam/forkcms,mathiashelin/forkcms,forkcms/forkcms,jessedobbelaere/forkcms,mathiashelin/forkcms,tommyvdv/forkcms,jonasdekeukelaere/forkcms,sumocoders/forkcms,mathiashelin/forkcms,bartdc/forkcms,jacob-v-dam/forkcms,sumocoders/forkcms,Katrienvh/forkcms,tommyvdv/forkcms,jonasdekeukelaere/forkcms,mathiashelin/forkcms,justcarakas/forkcms,jacob-v-dam/forkcms,justcarakas/forkcms,carakas/forkcms,riadvice/forkcms,jeroendesloovere/forkcms,carakas/forkcms,forkcms/forkcms,jonasdekeukelaere/forkcms,tommyvdv/forkcms,justcarakas/forkcms,jonasdekeukelaere/forkcms,jessedobbelaere/forkcms,sumocoders/forkcms