Modifications pour le document Menu content

Modifié par Ricardo Julio Rodríguez Fernández le 2026/06/12 19:48

Depuis la version 1.11
modifié par Ricardo Julio Rodríguez Fernández
sur 2024/08/17 09:59
Commentaire de modification : Il n'y a aucun commentaire pour cette version
À la version 2.1
modifié par Ricardo Julio Rodríguez Fernández
sur 2026/06/12 19:09
Commentaire de modification : Il n'y a aucun commentaire pour cette version

Résumé

Détails

Propriétés de la Page
Contenu
... ... @@ -63,11 +63,11 @@
63 63  ## <!-- Tabs -->
64 64  #set ($MyTabStr=${MyTabStr} + '<ul id="top-menu-tabs" class="nav nav-tabs navbar-inverse">')
65 65  ## HOME icon
66 -#set ($MyTabStr=${MyTabStr} + '<li class="menu-panel"><a href="' + $services.rendering.escape($escapetool.xml($xwiki.getURL('Main.WebHome', 'view')), $doc.syntax) + '" title="' + $services.localization.render('CustomExtension.TopPanelMenu.Content.Home.Icon') +'"><span class="glyphicon glyphicon-home"> </span></a></li>')
66 +#set ($MyTabStr=${MyTabStr} + '<li class="menu-panel"><a href="' + $services.rendering.escape($escapetool.xml($xwiki.getURL('Home.About.WebHome', 'view')), $doc.syntax) + '" title="' + $services.localization.render('CustomExtension.TopPanelMenu.Content.Home.Icon') +'"><span class="glyphicon glyphicon-home"> </span></a></li>')
67 67  ## Columns
68 68  #set ($MyColumns='')
69 69  #set ($MyPanel='')
70 -#set($children = $sorttool.sort($MenuContentDoc.getChildren()))
70 +#set($children = $collectiontool.sort($MenuContentDoc.getChildren()))
71 71  #foreach ($child in $children)
72 72   #set($MyDoc=$xwiki.getDocument($child))
73 73   ## Page name and title