General Actions:
List the last 5 members who have registered on this wiki along with their pictures (a default picture is displayed if the user hasn't uploaded any picture).
#panelheader('Last Members')
#set($list = $xwiki.searchDocuments(",BaseObject as obj where doc.fullName=obj.name and obj.className='XWiki.XWikiUsers' order by doc.creationDate desc", 5, 0))
{table}
Photo | Name
#foreach($user in $list)
#set($userdoc = $xwiki.getDocument($user)) $userdoc.use("XWiki.XWikiUsers") #if($userdoc.attachmentList.size()>0) #set($attach = $userdoc.attachmentList.get(0)) <img src="$userdoc.getAttachmentURL($attach.filename,"download", "wdith=30")" width="30"/> #end |[$userdoc.display("first_name","view") $userdoc.display("last_name","view")>$userdoc.fullName]
#end
{table}
[View All>XWiki.XWikiUsers]
#panelfooter()