Changes for page Rangee Index

Last modified by Tobias Wintrich on 2025/06/04 09:20

From version 12.29
edited by Tobias Wintrich
on 2021/09/28 12:00
Change comment: There is no comment for this version
To version 12.24
edited by Tobias Wintrich
on 2021/09/28 11:56
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -1,13 +1,8 @@
1 1  {{velocity}}
2 -##{{tree links="true" edges="false"}}
2 +{{tree links="true" edges="false"}}
3 3  #set($depth = $wikimacro.parameters.depth)
4 -#if ($xcontext.locale != 'de')
5 - #set($locale = '')
6 -#else
7 - #set($locale = $xcontext.locale)
8 -#end
9 9  {{html wiki=true}}
10 -language $locale
5 +$doc.getLanguage()
11 11  <ul>
12 12   #set($results = false)
13 13   #set ($query = $services.query.xwql('where doc.parent = :doc and doc.hidden = 0 order by doc.title asc'))
... ... @@ -85,5 +85,5 @@
85 85  </ul>
86 86  
87 87  {{/html}}
88 -##{{/tree}}
83 +{{/tree}}
89 89  {{/velocity}}