Toggle navigation
Log-in
Սկիզբ
Page Index
User Index
Application Index
Global
Languages
Default Language
Wiki Index
Browse Wikis
Wiki source code of
Browse Wikis
Last modified by superadmin on 2017/01/09 13:03
Copy
Export
Print preview
View Source
Children
Content
Attachments
×
Export
Office Formats
Export as PDF
Other Formats
Select the pages to export:
select all
/
none
Export as HTML
Show line numbers
{{velocity}} {{html}} #set ($createWikiDocReference = $services.model.createDocumentReference($services.wiki.mainWikiId, 'WikiManager', 'CreateWiki')) #if ($hasCreateWiki&& $xwiki.exists($createWikiDocReference)&& $services.security.authorization.hasAccess('view', $createWikiDocReference)) <p><a href="$xwiki.getURL('WikiManager.CreateWiki')" class="button button-success" id="tmCreateWiki">$services.icon.renderHTML('add') $services.localization.render('platform.wiki.create.button')</a></p> #end {{/html}} ## Load the User Picker style for the wiki owner column. #set($discard = $xwiki.ssfx.use('uicomponents/widgets/userpicker/userPicker.css')) #set($columns = ['wikiprettyname', 'description', 'owner', 'doc.creationDate', 'membershipType']) #set($columnsProperties = { 'wikiprettyname' : { 'type' : 'text', 'link' : 'field' }, 'description' : { 'type' : 'text' , 'size' : 50, 'html' : 'true' }, 'owner' : { 'type' : 'text', 'size' : 10, 'html' : 'true' }, 'membershipType' : { 'sortable': false, 'filterable': false}, 'doc.creationDate' : { 'type' : 'date', 'size' : 10, 'html' : 'false' } }) #set($options = { 'className' : 'XWiki.XWikiServerClass', 'rowCount' : 10, 'resultPage' : 'WikiManager.WikisLiveTableResults', 'translationPrefix' : 'platform.wiki.browse.' }) #if(!$isGuest) #set($discard = $columns.add('_actions')) #set($discard = $columnsProperties.put('_actions', { 'actions' : ['join', 'requestJoin', 'cancelJoinRequest', 'viewInvitation', 'leave', 'edit', 'delete'] })) #end #livetable('wikis', $columns, $columnsProperties, $options) #set($docextras=[]) {{/velocity}}
Navigation