Changes for page Rangee Index
Last modified by Tobias Wintrich on 2025/06/04 09:20
From version 12.51
edited by Tobias Wintrich
on 2021/09/28 13:06
on 2021/09/28 13:06
Change comment:
There is no comment for this version
To version 12.44
edited by Tobias Wintrich
on 2021/09/28 12:31
on 2021/09/28 12:31
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -1,5 +1,5 @@ 1 1 {{velocity}} 2 -{{tree links="true" edges="false"}} 2 +##{{tree links="true" edges="false"}} 3 3 #set($depth = $wikimacro.parameters.depth) 4 4 #if ($xcontext.locale == 'de') 5 5 #set($locale = '') ... ... @@ -6,12 +6,11 @@ 6 6 #else 7 7 #set($locale = $xcontext.locale) 8 8 #end 9 -{{html wiki=true }}9 +{{html wiki=true 10 10 <ul> 11 11 #set($results = false) 12 12 #set ($query = $services.query.xwql('where doc.parent = :doc and doc.hidden = 0 order by doc.title asc')) 13 - $results 14 - #set($results = $query.bindValue('doc', $doc.fullName).addFilter('currentlanguage').execute()) 13 + #set($results = $query.bindValue('doc', $doc.fullName).addFilter('currentlanguage').execute()) 15 15 #foreach($docname in $results) 16 16 #set($rdoc = $xwiki.getDocument($docname).getTranslatedDocument()) 17 17 #if ($locale == $rdoc.getLanguage()) ... ... @@ -95,5 +95,5 @@ 95 95 </ul> 96 96 97 97 {{/html}} 98 -{{/tree}} 97 +##{{/tree}} 99 99 {{/velocity}}