$action.getActionName($action.getClass().getName())

#includeJavascript('/includes/js/ajax.js') #includeJavascript('/includes/js/favourites.js')
#applyDecorator("root") #decoratorParam("context" "global") #decoratorParam("mode" "userdir") #decoratorParam("helper" $action.helper)
#parse ("/users/peopledirectory-searchform.vm")

$action.getText("show.word"): #if ($showOnlyPersonal) $action.getText("people.show.all") | $action.getText("people.show.personal") #else $action.getText("people.show.all") | $action.getText("people.show.personal") #end #if (!$searchQueryBean.queryString.equals(""))

$action.getText("people.search.results.found", [$action.searchBean.paginationSupport.items.size(), $!webwork.htmlEncode($searchQueryBean.queryString)]). #end

#if ($searchResults.size() > 0) #foreach ($person in $searchResults) $helper.renderConfluenceMacro("{profile:user=$person|mode=people-directory}") #end
#set ($formAction = "dopeopledirectorysearch.action?searchQueryBean.queryString=$searchQueryBean.queryString&ShowOnlyPersonal=$showOnlyPersonal&") #pagination ($action.searchBean.paginationSupport $formAction) #end
#end