General Actions:
Log-in
Wiki:
L3D's Wiki
▼
:
Document Index
»
Space:
XWiki
▼
:
Document Index
»
Page:
XWikiUserPreferencesSheet
Search
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
XWikiUsers
»
XWikiUserSheet
»
XWikiUserPreferencesSheet
Wiki source code of
XWikiUserPreferencesSheet
Last modified by
Administrator
on 2011/03/02 17:34
Content
·
Comments
(0)
·
Attachments
(0)
·
History
·
Information
Hide line numbers
1: {{velocity}} 2: #set($obj = $doc.getObject("XWiki.XWikiUsers")) 3: #if(!$obj) 4: {{info}}$msg.get('xe.admin.users.applyonusers'){{/info}}## 5: #else 6: $doc.use($obj) 7: $xwiki.ssx.use('XWiki.XWikiUserSheet')## 8: {{html wiki="true"}} 9: <div class="#if($context.action == 'view')half #{else}full #{end}column"> 10: <div class="userPreferences"> 11: #if($xcontext.action == 'view' && $hasEdit) 12: <div class="editProfileCategory"><a href="$doc.getURL('inline', 'category=preferences')"><span class="hidden">$msg.get('platform.core.profile.category.preferences.edit')</span></a></div> 13: #end 14: <h1>$msg.get('platform.core.profile.section.displayPreferences')</h1> 15: <dl> 16: <dt class="label"><label>$msg.get('platform.core.profile.enableAccessibility')</label></dt> 17: <dd>$doc.display('accessibility')</dd> 18: </dl> 19: <h1>$msg.get('platform.core.profile.section.editorPreferences')</h1> 20: <dl> 21: <dt class="label"><label>$msg.get('platform.core.profile.editor')</label></dt> 22: <dd>$doc.display('editor')</dd> 23: <dt class="label"><label>$msg.get('platform.core.profile.userType')</label></dt> 24: <dd>$doc.display('usertype')</dd> 25: </dl> 26: </div> 27: </div> 28: #set($isMyProfile = ($xwiki.getDocument($xcontext.user).prefixedFullName == $doc.prefixedFullName)) 29: #if(($isMyProfile || $hasAdmin) && !$doc.getObject('XWiki.LDAPProfileClass') && $xcontext.action == 'view') 30: <div class="half column"> 31: <div class="passwordManagement"> 32: <h1>$msg.get('platform.core.profile.section.security')</h1> 33: <span class="buttonwrapper"><a id="changePassword" href="$doc.getURL("view", "xpage=passwd")">$msg.get("platform.core.profile.changePassword")</a></span> 34: </div> 35: </div> 36: #end 37: <div class="clearfloats"> </div> 38: {{/html}}## 39: #end 40: {{/velocity}}
Quick Links
L3D Calendar
Wiki Dashboard
Document Index
Blog
Sandbox