General Actions:
Log-in
Wiki: xwiki ▼: Document Index
»
Space: Main ▼: Document Index
»
Page: AllDocs
Search
default
Page Actions:
Export ▼: Export as PDF Export as RTF Export as HTML
More actions ▼: Print preview View Source
Wiki Home » Documents on this Wiki

# Wiki source code of Documents on this Wiki

Last modified by Administrator on 2013/05/12 20:59
Comments (0) · Attachments (0) · History · Information
Hide line numbers 1: {{velocity}} 2: ##================ 3: ## Find which tab to display 4: ##================ 5: #if("$!{view}" == '') 6: #set($view = $request.getParameter('view')) 7: #if("$!{view}" == '') 8: #set ($view = 'index') 9: #end 10: #end 11: ##======== 12: ## Set Tab Data 13: ##======== 14: #set($tabs = []) 15: #macro(addAllDocsTab $tab) 16: #if($xwiki.hasAccessLevel('view', "$!context.user", $tab.get('document'))) 17: #set($discard = $tabs.add($tab)) 18: #end 19: #end 20: #addAllDocsTab({'tabName' : 'index', 'idSuffix' : 'index', 'translationKey' : 'platform.index', 'document' : 'XWiki.Tableview'}) 21: #addAllDocsTab({'tabName' : 'tree', 'idSuffix' : 'treeview', 'translationKey' : 'platform.index.tree', 'document' : 'XWiki.Treeview'}) 22: #addAllDocsTab({'tabName' : 'orphans', 'idSuffix' : 'orphansview', 'translationKey' : 'platform.index.orphaned', 'document' : 'XWiki.OrphanedPages'}) 23: #addAllDocsTab({'tabName' : 'attachments', 'idSuffix' : 'attachments', 'translationKey' : 'platform.index.attachments', 'document' : 'XWiki.AllAttachments'}) 24: #addAllDocsTab({'tabName' : 'deletedDocs', 'idSuffix' : 'deletedDocs', 'translationKey' : 'platform.index.documentsTrash', 'document' : 'XWiki.DeletedDocuments'}) 25: #addAllDocsTab({'tabName' : 'deletedAttachments', 'idSuffix' : 'deletedAttachments', 'translationKey' : 'platform.index.attachmentsTrash', 'document' : 'XWiki.DeletedAttachments'}) 26: ##============================================= 27: ## Add External Links tab if the LinkChecker module is present. 28: ## TODO: In the future replace this hardcoded link with Interface Extensions 29: ##============================================= 30: #if($services.rendering.defaultTransformationNames.contains('linkchecker') && $services.linkchecker) 31: #set ($dummy = $tabs.add({'tabName' : 'externalLinks', 'idSuffix' : 'externalLinks', 'translationKey' : 'platform.linkchecker.indexTab', 'document' : 'XWiki.ExternalLinks'})) 32: #end 33: ##=========== 34: ## Display the Tabs 35: ##=========== 36: {{html}} 37: <div class="floatcontainer"> 38: <ul class="xwikitabbar"> 39: #foreach ($tab in $tabs) 40: <li id="xwiki$tab['idSuffix']"#if($view == $tab['tabName']) class="active"#end><a href="$doc.getURL('view', "view=$tab['tabName']&amp;$!param")">$services.localization.render($tab['translationKey'])</a></li> 41: #end 42: </ul> 43: </div> 44: {{/html}} 45: 46: ##========================== 47: ## Include the Tab data for the selected Tab 48: ##========================== 49: {{html wiki="true"}} 50: <div class='xwikitabpanescontainer'> 51: #foreach ($tab in $tabs) 52: #if ($tab['tabName'] == $view) 53: {{include document="$tab['document']"/}} 54: #break 55: #end 56: #end 57: </div> 58: {{/html}} 59: {{/velocity}}

# My Recent Modifications

replaceAll('([|]|\

# Navigation

# Main

- Activity
- ApplicationResources_da
- Dashboard
- Dashboard
- Filarkiv
- Filarkiv
- Generelle informationer
- Kafka ELK
- MessageSenderMacro
- Prisliste for Print
- RecentChanges
- RecentMembers
- RssFeeds
- Spaces
- Syntaks
- Tags
- WebHome
- WebHome
- Welcome
- Welcome
- Welcome
- Welcome
- Welcome
- Welcome
- Welcome
- Welcome
- Welcome
- Welcome
- Welcome
- Welcome
- Welcome
- Welcome
- Welcome
- Welcome
- WhatsNew

# Samfundet

- Dokumentation
- WebHome

Vicky er et privat, ophavsbeskyttet område. Kopiering uden skriftlig tilladelse er forbudt.
Drevet af XWiki Enterprise 5.0.1 - Xwiki Dokumentation