General Actions:
Log-in
Wiki:
CC09
▼
:
Document Index
»
Space:
Main
▼
:
Document Index
»
Page:
Users
Search
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
List of Participants on the XWiki
Wiki source code of
List of Participants on the XWiki
Last modified by
Holger Dick
on 2009/10/13 09:36
Content
·
Comments
(0)
·
Attachments
(0)
·
History
·
Information
Show line numbers
#set($group="XWiki.XWikiAllGroup") <table class="stats" cellspacing="0" cellpadding="0"> <thead> <tr> <th>Name</th> <th>Photo</th> </tr> </thead> <tbody> #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.XWikiUsers'") #foreach($item in $xwiki.searchDocuments($sql)) #set($userName = $xwiki.getUserName($item)) #set($city = "") #set($country = "") #if($userName && $item!= "XWiki.Admin") #set($user2 = $xwiki.getUser($item)) #if($user2.isUserInGroup($group)) #set($size=20) #set($picsize=80) <tr> #set($userdoc = $xwiki.getDocument("${item}")) #set($userobj = $userdoc.getObject("XWiki.XWikiUsers")) #set($city = $userobj.getProperty("city").getValue()) #set($country = $userobj.getProperty("country").getValue()) #if($city) #if($country) #set($city = "$city, $country") #end #else #if($country) #set($city = "$country") #else #set($city = "") #end #end <td><p style="font-size:${size}pt">$userName</p><p style="font-size:14pt">$city</p></td> $userdoc.use("XWiki.XWikiUsers") <td> #if($userdoc.attachmentList.size()>0) #set($attach = $userdoc.attachmentList.get(0)) <img src="$userdoc.getAttachmentURL($attach.filename,"download", "width=$picsize")" width="$picsize"/> #end </td> </tr> #end #end #end </tbody> </table>
Quick Links
Wiki Dashboard
Document Index
Blog
Sandbox
My Recent Modifications
recentComments