<
Depuis la version < 2.1 >
modifié par André Kerouanton
sur 2013/07/08 17:08
À la version < 3.1
modifié par Paul Libbrecht (admin)
sur 2016/07/26 21:56
Commentaire de modification : Install extension [org.xwiki.platform:xwiki-platform-index-ui-8.2]

Résumé

Détails

Icon Propriétés de la Page
Auteur du document
... ... @@ -1,1 +1,1 @@
1 -XWiki.AndreKerouanton
1 +XWiki.adminPolx
Contenu
... ... @@ -13,13 +13,15 @@
13 13  ##========
14 14  #set($tabs = [])
15 15  #macro(addAllDocsTab $tab)
16 - #if($xwiki.hasAccessLevel('view', "$!context.user", $tab.get('document')))
16 + #if($xwiki.hasAccessLevel('view', "$!xcontext.user", $tab.get('document')))
17 17   #set($discard = $tabs.add($tab))
18 18   #end
19 19  #end
20 20  #addAllDocsTab({'tabName' : 'index', 'idSuffix' : 'index', 'translationKey' : 'platform.index', 'document' : 'XWiki.Tableview'})
21 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'})
22 +#if ($services.parentchild.isParentChildMechanismEnabled())
23 + #addAllDocsTab({'tabName' : 'orphans', 'idSuffix' : 'orphansview', 'translationKey' : 'platform.index.orphaned', 'document' : 'XWiki.OrphanedPages'})
24 +#end
23 23  #addAllDocsTab({'tabName' : 'attachments', 'idSuffix' : 'attachments', 'translationKey' : 'platform.index.attachments', 'document' : 'XWiki.AllAttachments'})
24 24  #addAllDocsTab({'tabName' : 'deletedDocs', 'idSuffix' : 'deletedDocs', 'translationKey' : 'platform.index.documentsTrash', 'document' : 'XWiki.DeletedDocuments'})
25 25  #addAllDocsTab({'tabName' : 'deletedAttachments', 'idSuffix' : 'deletedAttachments', 'translationKey' : 'platform.index.attachmentsTrash', 'document' : 'XWiki.DeletedAttachments'})
... ... @@ -50,10 +50,11 @@
50 50  <div class='xwikitabpanescontainer'>
51 51  #foreach ($tab in $tabs)
52 52   #if ($tab['tabName'] == $view)
53 - {{include document="$tab['document']"/}}
55 + {{include reference="$tab['document']"/}}
54 54   #break
55 55   #end
56 56  #end
57 57  </div>
58 58  {{/html}}
61 +#set($docextras=[])
59 59  {{/velocity}}
Icon Autorisation de camper Pio Kerbonne Iroise 2013 (1).JPG
Auteur
... ... @@ -1,1 +1,0 @@
1 -XWiki.AndreKerouanton
Taille
... ... @@ -1,1 +1,0 @@
1 -823.8 KB
Contenu Icon

Actualités

Annonce

Journal

Branches

Maîtrise
Compas
PioCas
Scouts
LouLou
Farfadet

photos

Groupe

Branches

Portrait

Admin

Pédagogie

Cahier de Chant

















contact

This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions