Description: returns a checkbox list with desktops for a certain distribution. Desktops included in the array $selectedDesktops are checked.
Parameter:
distr: distribution of the desktops should be shown
selectedDesktops: array with the desktops that should be checked