Consortium
Activities
Projects
Forge
Events
Log-in
Register
User Profile
Space Menu
Consortium
|
Solutions
|
Middleware
|
Forge
|
MyObjectWeb
|
PDF
|
History
|
More Actions
View
Code
|
XML
|
Help
Documentation
|
XWiki Syntax
|
1 User Profile <table border="0" cellspacing="10" cellpadding="10"> <tr> <td align="left" valign="top"> #set( $obj = $doc.getObject("XWiki.XWikiUsers", 0)) #set( $class = $obj.xWikiClass) <table border="0" cellspacing="0" cellpadding="2"> <tr> <td valign="top" colspan="2"> #if ($doc.attachmentList.size==0) Il n'y a pas de photo. #else #set($width = 200) #foreach ($attach in $doc.attachmentList) <a href="$doc.getAttachmentURL($attach.filename,"download")" > <img src="$doc.getAttachmentURL($attach.filename,"download")" width="${width}" /></a> #end <br /> #end </td> </tr> <tr><td> *Name:* </td> <td>$doc.display("last_name", $obj)</td></tr> <tr><td> *First name:* </td> <td>$doc.display("first_name", $obj)</td></tr> <tr><td> *Blog:* </td> <td>$doc.display("blog", $obj)</td></tr> <tr><td> *Blog Feed:* </td> <td>$doc.display("blogfeed", $obj)</td></tr> <tr><td> *Company:* </td> <td>$doc.display("company", $obj)</td></tr> <tr><td> *City:* </td> <td>$doc.display("city", $obj)</td></tr> <tr><td> *Country:* </td> <td>$doc.display("country", $obj)</td></tr> #if ($context.action=="inline") <tr><td> *Password:* </td> <td>$doc.display("password", $obj)</td></tr> #end </table> </td> <td> #set($feed = $doc.display("blogfeed", "view", $obj)) #if($feed!="") <style type="text/css"> .rssfeed { width: 200px; } </style> {rss:feed=${feed}|count=5} #end </td> </tr> #if ($context.action!="inline") #set($i = $context.user.indexOf(":")+1) #if ($context.user.substring($i) == $doc.fullName) <tr><td> <a href="$doc.getURL("attach")">Modify your photo</a> </td><td> <a href="$doc.getURL("inline")">Modify your profile</a> </td></tr> #end #end <tr><td colspan="2"> 1.1 Personal Profile </td> <tr><td colspan="2"> $doc.display("comment", $obj) </td> </tr> </table> #set($showattachments = 0)