XWiki
XWikiUserProfileSheet
en
0
XWiki.XWikiUserSheet
XWiki.Admin
XWiki.Admin
xwiki:XWiki.Admin
1262856167000
1262856167000
1262856167000
1.1

#

Imported from XAR
false
xwiki/2.0
false
{{velocity}} #set($obj = $doc.getObject("XWiki.XWikiUsers")) ## Allow $obfuscateEmail to be set in some other place. #if("$!obfuscateEmail" == '') #set($obfuscateEmail = true) #end #if(!$obj) = $msg.get('xe.admin.users.sheet') =

{{info}}$msg.get('xe.admin.users.applyonusers'){{/info}}## #else $doc.use($obj) {{html clean="false" wiki="true"}} #set($username = $xwiki.getUserName($doc.fullName, false)) = $msg.get('platform.core.profile.title', [$username]) =

#if($xcontext.action == 'view') <div class="vcard"> <span class="fn hidden">$username</span> #end ##$xwiki.ssx.use("XWiki.XWikiUserSheet")## <div class="#if($context.action == 'view')half #{else}full #{end}column"> <div class="userInfo"> #if($xcontext.action == 'view' && $hasEdit) <div class="editProfileCategory"><a href="$doc.getURL('inline', 'category=profile')"><span class="hidden">$msg.get('platform.core.profile.category.profile.edit')</span></a></div> #end ## Please do not insert extra empty lines here (as it affects the validity of the rendered xhtml) <h1>$msg.get('platform.core.profile.section.personal')</h1> <dl> <dt class="label"><label>$msg.get('platform.core.profile.firstname')</label></dt> <dd #if($xcontext.action == 'view')class="given-name"#end>$doc.display('first_name')</dd> <dt class="label"><label>$msg.get('platform.core.profile.lastname')</label></dt> <dd #if($xcontext.action == 'view')class="family-name"#end>$doc.display('last_name')</dd> #if(($obj.getProperty('company') && $obj.getProperty('company').getValue() != '') || $xcontext.action != 'view') <dt class="label"><label>$msg.get('platform.core.profile.company')</label></dt> <dd #if($xcontext.action == 'view')class="org"#end>$doc.display('company')</dd> #end #if(($obj.getProperty('comment') && $obj.getProperty('comment').getValue() != '') || $xcontext.action != 'view') <dt class="label"><label>$msg.get('platform.core.profile.about')</label></dt> <dd #if($xcontext.action == 'view')class="note"#end>$doc.display('comment')</dd> #end </dl> <h1>$msg.get('platform.core.profile.section.contact')</h1> <dl> <dt class="label"><label>$msg.get('platform.core.profile.email')</label></dt> <dd #if($xcontext.action=="view")class="email"#end>#if($xcontext.action != 'view' || !$obfuscateEmail)$doc.display('email')#else $doc.display('email').replaceAll('@.*', '@ ~-~-~-~-~-~-')#end</dd> <dt class="label"><label>$msg.get('platform.core.profile.phone')</label></dt> <dd #if($xcontext.action == 'view')class="tel"#end>$doc.display('phone')</dd> <dt class="label"><label>$msg.get('platform.core.profile.address')</label></dt> <dd #if($xcontext.action == 'view')class="adr"#end>$doc.display('address')</dd> </dl> #set($hasBlog = ($obj.getProperty('blog') && $obj.getProperty('blog').getValue() != '')) #set($hasBlogFeed = ($obj.getProperty('blogfeed') && $obj.getProperty('blogfeed').getValue() != '')) #if($hasBlog || $hasBlogFeed || $xcontext.action != 'view') <h1>$msg.get('platform.core.profile.section.links')</h1> <dl> #if($hasBlog || $xcontext.action != 'view') <dt class="label"><label>$msg.get('platform.core.profile.blog')</label></dt> <dd>$doc.display('blog')</dd> #end #if($hasBlogFeed || $xcontext.action != 'view') <dt class="label"><label>$msg.get('platform.core.profile.blogFeed')</label></dt> <dd>$doc.display('blogfeed')</dd> #end </dl> #end </div> </div> #if ($xcontext.action == 'view') <div class="half column"> <div class="userRecentChanges"> <h1>$msg.get('platform.core.profile.section.activity')</h1> {{/html}}

{{activity authors="${doc.fullName}" /}}

{{html clean="false"}} </div> </div> #end <div class="clearfloats">&nbsp;</div> #if($xcontext.action == 'view') ## Close the vcard </div> #end {{/html}}## #end {{/velocity}}