Function printUserSelector
Prints an select list option for users
it additionally prints a text field for a custom name
string |
$optionname |
Name of the option, sued for the selector and the current selection |
string |
$optionname_custom |
If defined this will be used for the custom url option, if null (default) the option name will be used with "_custom" appended |
boolean |
$type = 'users' |
'users', 'groups', 'allusers' |
boolean |
$is_galleryoption = false |
Set to true if this is a special gallery class option |