ref #6429: add publish flag preference to admin menu
ref #6429: missed to commit the new classes in last commit
ref #6429: smaller changes in admin preferences
ref #6429: adapt admin preferences to other preferences