General Actions:
Log-in
Register
Home
▼
:
Wiki Index
»
Space:
XWiki
»
Page:
XWikiSkinsSheet
default
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Welcome to bytebang
»
XWiki Space
»
Data types
»
XWiki Skin Class
»
Skin
Wiki source code of
Skin
Last modified by
Administrator
on 2014/06/29 19:28
Content
·
Attachments
(0)
·
Information
Show line numbers
{{velocity}} ## Keep testing the inline action for backward compatibility with existing skin documents. #if ($xcontext.action == 'edit' || $xcontext.action == 'inline') #set ($className = 'XWiki.XWikiSkins') #set ($class = $doc.getObject($className).xWikiClass) #foreach ($prop in $class.properties) ; $prop.prettyName : #if ($prop.name == 'logo'){{attachmentSelector classname="${className}" property="${prop.name}" filter="png,jpg,gif" displayImage="true"/}}#else$doc.display($prop.name)#end #end #else ## Call getDefaultEditMode() for backward compatibility with existing skins. * [[{{translation key="xe.admin.skin.editskin"/}}>>path:${doc.getURL($doc.getDefaultEditMode())}]] * [[{{translation key="xe.admin.skin.testskin"/}}>>$services.model.resolveDocument('', 'default', $doc.documentReference.extractReference('WIKI'))||queryString="skin=${doc.fullName}"]] #end {{/velocity}}