Toggle navigation
Log-in
myITGuide
Page Index
User Index
Application Index
Global
Wiki Index
Home
Blog
Links
Database
SQL Server
Cassandra
BigData
PostgreSQL
Redis
MariaDB
MongoDB
Tools
T-SQL
Powershell
Python
Scala
R
Jupyter
Java
Solution
Streaming
Spark
Storm
Search
Solr
ElasticSearch
Kafka
Puppet
Kibana
Docker
Kubernetes
OS
Windows
Linux
About
About Us
Email Us
Browse Wikis
Wiki source code of
Browse Wikis
Last modified by superadmin on 2016/12/20 10:05
Copy
Export
Print preview
View Source
Children
Content
Comments
Information
×
Export
Office Formats
Export as PDF
Other Formats
Select the pages to export:
select all
/
none
Export as HTML
Hide line numbers
1: {{velocity}} 2: {{html}} 3: #set ($createWikiDocReference = $services.model.createDocumentReference($services.wiki.mainWikiId, 'WikiManager', 'CreateWiki')) 4: #if ($hasCreateWiki&& $xwiki.exists($createWikiDocReference)&& $services.security.authorization.hasAccess('view', $createWikiDocReference)) 5: <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> 6: #end 7: {{/html}} 8: ## Load the User Picker style for the wiki owner column. 9: #set($discard = $xwiki.ssfx.use('uicomponents/widgets/userpicker/userPicker.css')) 10: #set($columns = ['wikiprettyname', 'description', 'owner', 'doc.creationDate', 'membershipType']) 11: #set($columnsProperties = { 12: 'wikiprettyname' : { 'type' : 'text', 'link' : 'field' }, 13: 'description' : { 'type' : 'text' , 'size' : 50, 'html' : 'true' }, 14: 'owner' : { 'type' : 'text', 'size' : 10, 'html' : 'true' }, 15: 'membershipType' : { 'sortable': false, 'filterable': false}, 16: 'doc.creationDate' : { 'type' : 'date', 'size' : 10, 'html' : 'false' } 17: }) 18: #set($options = { 19: 'className' : 'XWiki.XWikiServerClass', 20: 'rowCount' : 10, 21: 'resultPage' : 'WikiManager.WikisLiveTableResults', 22: 'translationPrefix' : 'platform.wiki.browse.' 23: }) 24: #if(!$isGuest) 25: #set($discard = $columns.add('_actions')) 26: #set($discard = $columnsProperties.put('_actions', { 'actions' : ['join', 'requestJoin', 'cancelJoinRequest', 'viewInvitation', 'leave', 'edit', 'delete'] })) 27: #end 28: #livetable('wikis', $columns, $columnsProperties, $options) 29: #set($docextras=[]) 30: {{/velocity}}