$action.getText("title.search.entities")

#includeJavascript('/includes/js/entity_picker.js') #parse ( "/template/includes/actionerrors.vm" ) #parse ("/spaces/permissions/userpicker-form.vm") #if (!$action.hasErrors())
#if($stringUtils.isNotEmpty($memberGroups))

$action.getText("userpicker.group.listing") $memberGroups

#end
#set( $users = $action.paginationSupport.page ) #set( $usersExist = $users && !$users.isEmpty() )

$action.getText("check.all") |  | $action.getText("user.name") | $action.getText("user.fullname") | $action.getText("email")
--- | --- | --- | --- | ---
#if ($usersExist) #foreach ($user in $users)
|  | $!generalUtil.htmlEncode($user.name) | $!generalUtil.htmlEncode($user.fullName) | $!generalUtil.htmlEncode($generalUtil.maskEmail($user.email))
#end #else #if ($users)
$action.getText('no.users.found')
#end #end

#if ($usersExist) ##The pagination macro tacks on a "&startsWith=x" string at the end of the last argument below) #entityPagination($action.paginationSupport "userpicker.action?searchTerm=$!generalUtil.urlEncode($!{searchTerm})&userSearch=$userSearch&groupTerm=$!generalUtil.urlEncode($!{groupTerm})&onPopupSubmit=$!generalUtil.urlEncode($!{onPopupSubmit})&")
#end