Function printZenpagePageSelector
Prints an select list option for Zenpage pages
it additionally prints a text field for a custom page URL.
string |
$optionname |
Name of the option, sued for the selector and the current selection |
string |
$optionname_custom = null |
If defined this will be used for the custom url option, if null (default) the option name will be used with "_custom" appended |
boolean |
$published = false |
If the pages should include only published ones |
boolean |
$is_galleryoption = false |
Set to true if this is a special gallery class option |